From: Seb <spluque@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: How to #+BEGIN_SRC sql :engine postgresql with PostgreSQL 10.0?
Date: Thu, 01 Mar 2018 20:45:40 -0600 [thread overview]
Message-ID: <87k1uv9ovf.fsf@otaria.sebmel.org> (raw)
In-Reply-To: 20180301153339.GA4735@protected.rcdrun.com
On Thu, 1 Mar 2018 16:33:39 +0100,
Jean Louis <bugs@gnu.support> wrote:
> Hello, I am using the PostgreSQL 10.0 and that means that pg.el cannot
> be used anymore as it is not updated for that database.
No problems on GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version
3.22.28) of 2018-02-19, modified by Debian and PostgreSQL 10.2:
---<--------------------cut here---------------start------------------->---
#+PROPERTY: header-args:sql :engine postgresql
#+PROPERTY: header-args:sql+ :cmdline -p5432 :database postgres
#+BEGIN_SRC sql :exports results :results table
SELECT version();
#+END_SRC
#+RESULTS:
| version |
|--------------------------------------------------------------------------------------------------------|
| PostgreSQL 10.2 (Debian 10.2-1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 7.3.0-1) 7.3.0, 64-bit |
---<--------------------cut here---------------end--------------------->---
--
Seb
prev parent reply other threads:[~2018-03-02 2:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-01 15:33 How to #+BEGIN_SRC sql :engine postgresql with PostgreSQL 10.0? Jean Louis
2018-03-02 2:45 ` Seb [this message]
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=87k1uv9ovf.fsf@otaria.sebmel.org \
--to=spluque@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).