emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefano Rodighiero <stefano.rodighiero@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] ob-sql.el: Option to reference connections in `sql-connection-alist'
Date: Mon, 15 Apr 2019 22:16:57 +0200	[thread overview]
Message-ID: <CABuLN4yJW-e0tLfPo93e5Xx9oW5yry=ynBYmWPUkGg72AHbfeg@mail.gmail.com> (raw)
In-Reply-To: <87ef63qmd4.fsf@nicolasgoaziou.fr>


[-- Attachment #1.1: Type: text/plain, Size: 264 bytes --]

On Mon, Apr 15, 2019 at 6:11 PM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:


> Thank you. I applied your patch.
>

Great, thank you again for your help.


> Could you also provide an entry in ORG-NEWS?
>

Attached.

regards,
s.

-- 
www.stefanorodighiero.net

[-- Attachment #1.2: Type: text/html, Size: 898 bytes --]

[-- Attachment #2: 0001-ORG-NEWS-Mention-parameter-dbconnection-for-org-babe.patch --]
[-- Type: text/x-patch, Size: 938 bytes --]

From 802cbc9c8e631c4457934c4ad00b3c6ac2a62105 Mon Sep 17 00:00:00 2001
From: Stefano Rodighiero <stefano.rodighiero@gmail.com>
Date: Mon, 15 Apr 2019 22:14:07 +0200
Subject: [PATCH] ORG-NEWS: Mention parameter :dbconnection for
 org-babel-execute:sql

---
 etc/ORG-NEWS | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index a2e9057..79659ea 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -188,6 +188,10 @@ days in the past.
 =<C-u K>= (~org-habit-toggle-display-in-agenda~) in an agenda toggles
 the display of all habits to those which are undone and scheduled.
 This is a function for convenience.
+*** New paramater for SQL Babel blocks: ~:dbconnection~
+The new paramater ~:dbconnection~ allows to specify a connection name
+in a SQL block header: this name is used to look up connection
+parameters in ~sql-connection-alist~.
 ** New functions
 *** ~org-dynamic-block-insert-dblock~
 
-- 
2.7.4


  reply	other threads:[~2019-04-15 20:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-24 12:04 [PATCH] ob-sql.el: Option to reference connections in `sql-connection-alist' Stefano Rodighiero
2019-04-07  7:24 ` Nicolas Goaziou
2019-04-14 14:25   ` Stefano Rodighiero
2019-04-15 16:11     ` Nicolas Goaziou
2019-04-15 20:16       ` Stefano Rodighiero [this message]
2019-04-17 12:26         ` Nicolas Goaziou
2019-04-17 13:34         ` stardiviner

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='CABuLN4yJW-e0tLfPo93e5Xx9oW5yry=ynBYmWPUkGg72AHbfeg@mail.gmail.com' \
    --to=stefano.rodighiero@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).