emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] SQL support in Babel


From: Seb
Subject: [O] SQL support in Babel
Date: Thu, 20 Nov 2014 09:23:20 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Hi,

The last code block in ob-doc-sql¹ suggests I should be able to place a
number of #+HEADER lines above my SQL source code to specify the
connection string.  I am trying to connect to a remote PostgreSQL
server, and after lots of experimentation, the only way this works for
me is to have a single #+HEADER line with a :cmdline with the entire
connection string.  All the other header arguments (:database, :dbuser,
etc.), whether in separate lines or in a single one, seem to be
completely ignored.  Using Org 8.2.10 and Emacs 24.4.1 from Debian Sid
packages.  Is this a problem with this version combination, or does the
functionality of the header arguments depend on the engine being used?
Thanks.


+--- Footnotes ---+
¹ http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-sql.html

-- 
Seb




reply via email to

[Prev in Thread] Current Thread [Next in Thread]