Re: ob-sql dbconnection engine

2023-02-08 Thread Andreas Gerler
ote: > > Andreas Gerler writes: > >> without the patch your org source block has to look like: >> >> #+begin_src sql :engine mysql :dbconnection mysqldb1 >> SELECT * FROM nodes; >> #+end_src >> >> with that patch you can just type >>

Re: [O] [PATCH] ob-eval: display error fix

2023-02-03 Thread Andreas Gerler
Hi Ihor, way too busy right now. As soon as I find some time I’ll rework that change. Might take a week or two. so long... Andreas Gerler > On Jan 27, 2023, at 2:11 PM, Ihor Radchenko wrote: > > Andreas Gerler writes: > >> +(defcustom org-babel-eval-error-display-notify

Re: ob-sql dbconnection engine

2023-01-28 Thread Andreas Gerler
Hi! and a new patch with proper commit message. 0002-lisp-ob-sql.el-sql-connection-alist-engine.patch Description: Binary data > On 28. Jan 2023, at 13:57, Andreas Gerler > wrote: > > Hi! > > without the patch your org source block has to look like: > > #+beg

Re: [BUG] ob-sql sql-connection-alist

2023-01-28 Thread Andreas Gerler
Hi! I added the missing changelog entry. 0001-lisp-ob-sql.el-allow-string-in-sql-connection-alist.patch Description: Binary data > On 27. Jan 2023, at 17:58, Andreas Gerler > wrote: > > Hi! > > I can prepare a new commit this weekend. > so long… A

Re: ob-sql dbconnection engine

2023-01-28 Thread Andreas Gerler
stdb" > On 27. Jan 2023, at 14:15, Ihor Radchenko wrote: > > Andreas Gerler writes: > >> as I am still learning more elisp it took me some try and error but I can >> use the sql-product now within dbconnection. >> Using :engine still works as well. >>

Re: [BUG] ob-sql sql-connection-alist

2023-01-27 Thread Andreas Gerler
Hi! I can prepare a new commit this weekend. so long... Andreas > On Jan 27, 2023, at 2:18 PM, Ihor Radchenko wrote: > > Bastien Guerry writes: > >> It was missing in the FSF copyright.list file, but it has been fixed >> and Andreas can be added as a regular contributor. > > Done. > https

ob-sql dbconnection engine

2023-01-21 Thread Andreas Gerler
Hi! as I am still learning more elisp it took me some try and error but I can use the sql-product now within dbconnection. Using :engine still works as well. Still wondering if there is a more elegant way for the if clause. ob-sql.el.diff Description: Binary data so long… Andreas Gerler

Re: [BUG] ob-sql sql-connection-alist

2023-01-21 Thread Andreas Gerler
gt; https://orgmode.org/list/b664b5e8-b6a8-4b20-b0cb-f6149c720...@bundesbrandschatzamt.de, > but I do not see any confirmation of the copyright assignment status). > > Bastien, could you please confirm the copyright status of Andreas Gerler? > > -- > Ihor Radchenko // yantar92, &

Re: [BUG] ob-sql sql-connection-alist

2023-01-20 Thread Andreas Gerler
Hi Daniel, I already contributed to Orgmode a few years ago for Vertica support and filled the copyright assignment back then. Andreas > On Jan 20, 2023, at 9:47 PM, Daniel Kraus wrote: > > Thanks. > > @Ihor, since this is the first patch I install from another contributor, > is there anyth

Re: [BUG] ob-sql sql-connection-alist

2023-01-20 Thread Andreas Gerler
Sorry. That was the wrong patch. 0001-lisp-ob-sql.el-allow-string-in-sql-connection-alist.patch Description: Binary data > On 20. Jan 2023, at 18:24, Andreas Gerler > wrote: > > <0001-lisp-ob-eval.el-Display-error-fix.patch> > >> On 16. Jan 2023, at 11:25, Dan

Re: [BUG] ob-sql sql-connection-alist

2023-01-20 Thread Andreas Gerler
0001-lisp-ob-eval.el-Display-error-fix.patch Description: Binary data > On 16. Jan 2023, at 11:25, Daniel Kraus wrote: > > Hi! > > Andreas Gerler writes: > >> Last week I heard about using ob-sql with credentials stored in the variable >> used by isql. >

[BUG] ob-sql sql-connection-alist

2023-01-15 Thread Andreas Gerler
ing writing another patch to map the sql-product to engine. That way we could get rid of another parameter in the src block. Opinions? ob-sql.el.diff Description: Binary data Thanks in advance… Andreas Gerler — http://www.bundesbrandschatzamt.de/~baron signature.asc Description: Message signed with OpenPGP

Re: [O] [PATCH] ob-eval: display error fix

2023-01-08 Thread Andreas Gerler
0001-lisp-ob-eval.el-Display-error-fix.patch Description: Binary data Hi Ruijie, thanks for asking. I combined them now and tested again all variants. Andreas > On 7. Jan 2023, at 22:33, Ruijie Yu via General discussions about Org-mode. > wrote: > > > Hi Andreas, > > -(display-buff

[O] [PATCH] ob-eval: display error fix

2023-01-07 Thread Andreas Gerler
if non zero exit. The buffer still gets written. Additionally I added defcustom org-babel-eval-error-display-notify If anybody is in need to display everything he can toggle it. I signed my FSF papers in 2017 for an ob-sql patch. so long… Andreas Gerler — http://www.bundesbrandschatzamt.de

Re: [O] [PATCH] ob-sql: Add vertica engine

2017-03-30 Thread Andreas Gerler
t; > Hello, > > Andreas Gerler writes: > >> * lisp/ob-sql.el (org-babel-sql-dbstring-vertica): New function. >> (org-babel-execute:sql): Add `vertica' engine. > > Thank you. > > If you haven't signed FSF papers yet, could you add TINYCHANGE at the > en

[O] [PATCH] ob-sql: Add vertica engine

2017-03-29 Thread Andreas Gerler
* lisp/ob-sql.el (org-babel-sql-dbstring-vertica): New function. (org-babel-execute:sql): Add `vertica' engine. Signed-off-by: Andreas Gerler --- lisp/ob-sql.el | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/lisp/ob-sql.el b/lisp/ob-sql.el index 15