emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* SQL support in Babel
@ 2014-11-20 15:23 Seb
  2014-11-21  4:35 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: Seb @ 2014-11-20 15:23 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-21  4:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-20 15:23 SQL support in Babel Seb
2014-11-21  4:35 ` Nick Dokos

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