emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] How to #+BEGIN_SRC sql :engine postgresql with PostgreSQL 10.0?


From: Seb
Subject: Re: [O] How to #+BEGIN_SRC sql :engine postgresql with PostgreSQL 10.0?
Date: Thu, 01 Mar 2018 20:45:40 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

On Thu, 1 Mar 2018 16:33:39 +0100,
Jean Louis <address@hidden> 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




reply via email to

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