emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: emacs-orgmode@gnu.org
Subject: How to #+BEGIN_SRC sql :engine postgresql with PostgreSQL 10.0?
Date: Thu, 1 Mar 2018 16:33:39 +0100	[thread overview]
Message-ID: <20180301153339.GA4735@protected.rcdrun.com> (raw)

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.

So, something like this below is not working

#+BEGIN_SRC sql :engine postgresql :exports results :cmdline :database business :dbuser cox
SELECT -- salesflowstages_priority AS "Priority", 
       salesflowstages_publicstage AS "Development Stages" --,
--       salesflowstages_description AS "Description" 
FROM salesflowstages
WHERE salesflowstages_salesflows = 1 -- Start Your Own Gold Mine
ORDER BY salesflowstages_priority ASC
#+END_SRC

However, I can use the emacs-libpq module which is
working fine, but not within the Org mode.

It would be good to update Org mode so that
postgresql may work also with the version 10.0

Or point me somewhere how I can update it myself.

Thank you,
Jean

             reply	other threads:[~2018-03-01 15:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-01 15:33 Jean Louis [this message]
2018-03-02  2:45 ` How to #+BEGIN_SRC sql :engine postgresql with PostgreSQL 10.0? Seb

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=20180301153339.GA4735@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --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).