emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Phil <pe@7d.nz>, Daniel Kraus <daniel@kraus.my>
Cc: corwin@bru.st, emacs-orgmode@gnu.org
Subject: Re: ob-sql-mode/session
Date: Wed, 05 Jun 2024 18:50:51 +0000	[thread overview]
Message-ID: <877cf35ilw.fsf@localhost> (raw)
In-Reply-To: <6a8449fb-6847-437f-b12a-1a69598e5065@7d.nz>

Phil <pe@7d.nz> writes:

> In need for a sessions support on SQL, I checked
> ob-sql.el and sql.el lately, then wrote
> [[https://github.com/flintforge/ob-sql-session][ob-sql-session]]
> (no pun intended, at all:)
>
> It started with a quick workaround on ob-sql,
> which turned out to be the same logic to what
> _ob-sql-mode_ does: a simple sql-redirect.  Most of
> the content found in it was general consideration
> regarding org-mode usage with source blocks, and a
> working solution is more demanding, so I felt a
> little embarassed to fork ob-sql-mode after, but
> still, would like to volunteer.
>
> Perhaps it would also be embrassement to have a
> package named ob-sql-session in the repos (because
> it's not related to Emacs sessions of course;)?

CCing Daniel, the ob-sql maintainer.

I am not sure if I 100% understand this email, but it sounds to me like
a proposal to add :session support to Org mode's ob-sql.

Note that we do have session support in the todo list:

;; TODO:
;;
;; - support for sessions
;; - support for more engines
;; - what's a reasonable way to drop table data into SQL?

So, adding sessions to ob-sql would be certainly welcome.

-- 
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>


  reply	other threads:[~2024-06-05 18:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-05 16:53 ob-sql-mode/session Phil
2024-06-05 18:50 ` Ihor Radchenko [this message]
     [not found]   ` <3b7fef2f-1d96-4d78-bba3-1002b3741915@7d.nz>
2024-06-06  5:34     ` ob-sql-mode/session Phil
2024-06-06 15:26       ` ob-sql-mode/session Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877cf35ilw.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=corwin@bru.st \
    --cc=daniel@kraus.my \
    --cc=emacs-orgmode@gnu.org \
    --cc=pe@7d.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).