From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp10.migadu.com ([2001:41d0:306:2d92::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms9.migadu.com with LMTPS
	id oI3GGg2yzGQ6PgEASxT56A
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Fri, 04 Aug 2023 10:08:45 +0200
Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp10.migadu.com with LMTPS
	id qMHRGQ2yzGS2YQEAG6o9tA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Fri, 04 Aug 2023 10:08:45 +0200
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id ECA04482B1
	for <larch@yhetil.org>; Fri,  4 Aug 2023 10:08:44 +0200 (CEST)
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=DA0O4Mg6;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=posteo.net
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691136525; a=rsa-sha256; cv=none;
	b=KXG8STIvGtVzTTUDw2X3EPCBuS+ZZp34JR00PINg0iiVgmQ0lo0HEGJKxDI1jVpeqpFhvl
	RZ6kpaNO+2GGSCw4uLvM9N8FOF7QNHOyKmQfaEfdLszz3+rC6C9VNO9xMaJzCMgpGIiSEL
	TqMkBvdBpnOkwlNNHy7Bacwsp3dTlqpDWx2YswwlE2ylURG6UvLx7vEtjeziJz0E8dS0n8
	cjorwLgP7PZMDPQso5WBWohPXy+N1HPMcojn+XQNqZFAhhlIjLYy4xQZCNQSm7b0i05V2K
	yFB13w3/0xamrDKBdTiWIl+oSVzhnzjxAK0cC0yXpGFK2JrHGFxSyC00B+8dLg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1691136525;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=Qbmdu5BgFrpCepadpcWRQ12Ni/h786QPTjqmPvWFeS8=;
	b=KQq2+ReEokt1LfvhW8g1uyQ7DlYO0YBeed6HQEN4c8IXaWxCZOR4Eydbyp4CnrkoIwa39j
	QU3DSuebz0u7yCC0Qw+D2wQxotfm719/wznxvMWe07gn/F+H923hm3ev+VxjW/2UJz5bhY
	fITg7YqSw4Q3MjRY8pmnyRKLsLAz16ssVZRDm9UxN/LR+OQSQNvHTgxHQ+OPnlQfSC0s/6
	4uEYD6haBY+ArdDZO2v7c5ALSxXUIArmubUVRnbbPDlnt5HsytX8ggrc6dSB4BikQz74Y5
	fSHYFF21H61/gu/zPuixXG2hD52lYkmnGdfyPrEeYUDQBQLs/+Zldt+KrAsZsw==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=DA0O4Mg6;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=posteo.net
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1qRpql-0002m4-Vc; Fri, 04 Aug 2023 04:07:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@posteo.net>)
 id 1qRpqj-0002jr-F0
 for emacs-orgmode@gnu.org; Fri, 04 Aug 2023 04:07:53 -0400
Received: from mout01.posteo.de ([185.67.36.65])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@posteo.net>)
 id 1qRpqh-0001Re-E1
 for emacs-orgmode@gnu.org; Fri, 04 Aug 2023 04:07:53 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 4E0BA240028
 for <emacs-orgmode@gnu.org>; Fri,  4 Aug 2023 10:07:49 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1691136469; bh=Qbmdu5BgFrpCepadpcWRQ12Ni/h786QPTjqmPvWFeS8=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:
 Content-Transfer-Encoding:From;
 b=DA0O4Mg66EAUwcIPyevQoHwtNk7Ybr2AneFmUMxHtfvmr6WR2ezwTebSspr3AHE01
 kRrRLgaawFLgLmWAhDiF94SXNpA47HjMsV4wCvGIR6rlA6iO2gL/q0/9SAqu9TjvS4
 FnAFYtEBRBganHf34/hwtCkkEeCsPf1j69hPUKYCm5P4sJiL0eq4LJuSZWGpaHQ9cO
 F3CW12g/Vn45MdZFUxxUnTQNqc9QeHDC0R502ofYFPpA6zGgVWgcOl/NcFzIjKwH9h
 JsQLZR8an0qc79NHWMb7n2pGdqwPnCzOX0nh0MrsMeiJC3Pmgl0c336MIic/oJcXIr
 PeC2q0wmQSpxg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4RHJH826nwz6twH;
 Fri,  4 Aug 2023 10:07:48 +0200 (CEST)
From: Ihor Radchenko <yantar92@posteo.net>
To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= <salutis@me.com>
Cc: Max Nikulin <manikulin@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: [PATCH] ob-sqlite: Use a transient in-memory database by default
In-Reply-To: <m2o7jofglx.fsf@me.com>
References: <20230503125903.95063-1-salutis@me.com>
 <u2ttkr$12t$1@ciao.gmane.io> <u2u2ag$mfm$1@ciao.gmane.io>
 <m2fs89i46t.fsf@me.com> <87a5x3wum8.fsf@localhost> <m2ilbjhbdt.fsf@me.com>
 <87ilbis8lx.fsf@localhost> <m2o7jofglx.fsf@me.com>
Date: Fri, 04 Aug 2023 08:08:13 +0000
Message-ID: <87sf8zkz6a.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net;
 helo=mout01.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Spam-Score: -6.17
X-Migadu-Scanner: mx2.migadu.com
X-Migadu-Queue-Id: ECA04482B1
X-Spam-Score: -6.17
X-TUID: mWlqUc+6qV+v

Rudolf Adamkovi=C4=8D <salutis@me.com> writes:

> Ihor Radchenko <yantar92@posteo.net> writes:
>
>> As Max described, it might be a potential issue.
>
> How about (1) we merge the patch, and then
> (2) we add the lint warning if/when someone
> has the [hypothesized] problem?

Maybe. After re-thinking, your change should not break any existing Org
files, except those that were already broken because of the missing :db.

However, I think that it will provide more freedom to users if you alter
org-babel-default-header-args:sqlite instead of hard-coding the default.
May you update the patch accordingly?

Also, can you update the docs at
https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-sqlite.html
? The current docs declare :db header arg as mandatory.

--=20
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>