From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.orgmode,gmane.emacs.devel Subject: Re: package submission : ob-sql-session Date: Sat, 09 Nov 2024 14:43:57 +0000 Message-ID: <877c9cfowi.fsf@localhost> References: <1a69c5fb-4069-45c8-b37b-4d54ef88b92d@alphapapa.net> <3a694658-9184-4c45-ac17-6e6083a21517@7d.nz> <87msizq7g3.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11279"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Adam Porter , emacs-devel@gnu.org, Org Mode List To: Phil Estival Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sat Nov 09 15:43:16 2024 Return-path: Envelope-to: geo-emacs-orgmode@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t9mgG-0002mA-C6 for geo-emacs-orgmode@m.gmane-mx.org; Sat, 09 Nov 2024 15:43:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9mfU-0007I9-1a; Sat, 09 Nov 2024 09:42:28 -0500 Original-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 1t9mfQ-0007H9-Lf for emacs-orgmode@gnu.org; Sat, 09 Nov 2024 09:42:24 -0500 Original-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 ) id 1t9mfO-0005wE-Fr for emacs-orgmode@gnu.org; Sat, 09 Nov 2024 09:42:24 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D0DC8240028 for ; Sat, 9 Nov 2024 15:42:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1731163339; bh=OZKv9OVDCOCZtafeiE92nq0yclovg08PawjYNr0dEgk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=PsuzlNJnkZk1zgywE5CcgIXkmD2Esh8K8mUoaa+Eieitae9D6SXfB2BSI9Vbs72/u qdeJYNlOKKtqi/bH7iEWa86kBzVBW6H9YckFRYxWL4Gdg20iXRZRtRfBaDtWjUm2+q X0kHb7z2i/i0ftJNZ3cbjf66ganKGFtpdI9CTUAEfjvqSCH3NYv7o1K1V4a7sx52IW qZt3B5cHXsoajMma4FCtFVh7WOCmIEuYAaf/wPlqncOLbr882xgH9VFPhpBDGNhsKY s4CKvpfWzpJN/HiffH+Wd7HlBZQKF3SksUNeJj+q/QnE+uDycDpVMLQ1w2GQ+RKpsp u9H8jv9xu6C6g== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Xlz6f4qrTz6tyd; Sat, 9 Nov 2024 15:42:18 +0100 (CET) In-Reply-To: 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Original-Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.orgmode:163848 gmane.emacs.devel:325334 Archived-At: Phil Estival writes: >> 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 Thanks for the update! I will be looking towards your improvements to be merged upstream. Feel free to ask me anything if you need any help. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at