From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MBamIhYQKWeO+gAAqHPOHw:P1 (envelope-from ) for ; Mon, 04 Nov 2024 18:19:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MBamIhYQKWeO+gAAqHPOHw (envelope-from ) for ; Mon, 04 Nov 2024 19:19:02 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=7d.nz header.s=20240212 header.b=bY7PPtj5; 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=reject) header.from=7d.nz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730744342; 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=F5P2wvieBIXPhn44KbPE+sMraYIq/c7AR4S8qI4mG4k=; b=WzCj6W6Ay+9ajkd/YTm0rZXlMFutQmTqcF1mNdeDfj6R5FV+2kYvkEV+OKFN02OJxN5XC6 wD1Yi0ruB77CAWmeizqb/OlBospweqi9FIePUo2lnNrYAz6xwhAn3V8GVmFhWRTio8cwiB QAtf9AKFwF+pqtAIKOXkQdNY2IXLO22QzoKP5EWDPzXjYAUsDG22eGl8AJ5BiO2PbOZM2a mdVHFEI2ghUbFwcm57TiPyS94n0/VzLyJqZKCyGvQ0SVDKJtz8mPITTj36mlcwEkIq52Uf c35o+a2vgiZa/9GEOoly/dunEYSB9U/Il6xllnvIlTiX3C+UBSGNaQ2zJwSaIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=7d.nz header.s=20240212 header.b=bY7PPtj5; 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=reject) header.from=7d.nz ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730744342; a=rsa-sha256; cv=none; b=rYnjeP/zYYDuVWuNe8FLPUUe4/umstEXb7Z+kPzjlqys7VvzrJi5X7IB3SpcVTVukLEesg X+sEwm05nHp2KZRNEiYDQ9xmw/QaAkoLU+b9GHRE15PNwEiJTxVtFMKEwVorlduLdoAjLN zZshmhgkBZ5LawpvcvAXkpqtrvk448anfIzU/CmJSZt5Y1my4VUK1Xw5GmVB91bqvtOEpd 8Xf4r9kWZVktKcdEOiYjlLcvzRUCnqFpRdzV1gbLJW8snQTyD77zcifNkFDVWJTweH6CZd NspcdISiRzpg2scpubq0yvGBk/izztZUDGf0x2WqUeKpoi1cAKNrJd6fowJJVQ== 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 076427DD39 for ; Mon, 04 Nov 2024 19:19:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t81eb-00045w-25; Mon, 04 Nov 2024 13:18:18 -0500 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 ) id 1t81cd-0002pP-QZ for emacs-orgmode@gnu.org; Mon, 04 Nov 2024 13:16:25 -0500 Received: from smtp-42ae.mail.infomaniak.ch ([2001:1600:4:17::42ae]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t81cb-00059D-L9 for emacs-orgmode@gnu.org; Mon, 04 Nov 2024 13:16:15 -0500 Received: from smtp-3-0001.mail.infomaniak.ch (smtp-3-0001.mail.infomaniak.ch [10.4.36.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4Xj05Z2pXbzfG; Mon, 4 Nov 2024 19:16:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=7d.nz; s=20240212; t=1730744162; bh=F5P2wvieBIXPhn44KbPE+sMraYIq/c7AR4S8qI4mG4k=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=bY7PPtj5oHE5W5i6HkHKjjnK1c61HdviPpTHiaLCByeFGvZipYcgAaQ/VAXkgpkIx xuQkKLiwyjf6Bm8DPqyM1D6YRHbB7srircOHUDeiy6AQckK/FrOgwFUIulPsynQdsG lzHQmL+VvwENAgIiDuyGpj6umju1QCwF8vVWEhejZsmkIft2bwmtG8hH23X1JuTiB2 gXmlQmBLCohxIa5lVdxGzRBDgtA2e2QeG7qzv0iZPWmcTxGyP2gUFVtCZAZaslDELQ t689iDvF6OHjhe1koyie+bnXMw0yRBPw9AoLJtWpuFh+vM9wL66erk2MkXvnX0SQ3p 7p8yGAYBc5IGQ== Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4Xj05Y4Md8zDVT; Mon, 4 Nov 2024 19:16:01 +0100 (CET) Message-ID: Date: Mon, 4 Nov 2024 19:16:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: package submission : ob-sql-session To: Ihor Radchenko Cc: Adam Porter , emacs-devel@gnu.org, Org Mode List References: <1a69c5fb-4069-45c8-b37b-4d54ef88b92d@alphapapa.net> <3a694658-9184-4c45-ac17-6e6083a21517@7d.nz> <87msizq7g3.fsf@localhost> From: Phil Estival Content-Language: fr, en-US In-Reply-To: <87msizq7g3.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Infomaniak-Routing: alpha Received-SPF: pass client-ip=2001:1600:4:17::42ae; envelope-from=pe@7d.nz; helo=smtp-42ae.mail.infomaniak.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.56 X-Spam-Score: 0.56 X-Migadu-Queue-Id: 076427DD39 X-TUID: ot+SwOVJIuBE * [2024-10-20 14:34] Ihor Radchenko: > Phil Estival writes: > >>>> ob-sql-session : >>>> - handle large results >>>> - has :results tables >>>> - accept header variables (:var) >>>> - accept sql client shell commands >>>> - keep login parameters >>>> - prompt only for blank connection parameters >>>> - can use `with-environment-variables' >>>> - provide some more tests > > Have you considered integrating it into ob-sql itself? > If not, what are the obstacles? > Hello Ihor, yes I have. It grows ob-sql by approximately 300 lines. There are rooms for improvements. https://github.com/flintforge/ob-sql-session/blob/main/ob-sql.el Current status : - added support of :sessions to ob-sql.el, by merging ob-sql-session.el - restored support for sqlite (even if there is ob-sqlite.el) - added composite types for options - moved options from org-babel to a new group org-babel-sql TODO : - use `org-babel-prep-session' - verify headers and columns options - check use and storage of :dbconnection - minimize writings of temporary files - Tests Cheers, Phil