pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jae Adams <appleorange2@gmail.com>
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: AutoCommit statements do no work with postgresql 11.
Date: Sat, 09 Feb 2019 01:45:38 -0500
Message-ID: <14565.1549694738@sss.pgh.pa.us> (raw)
In-Reply-To: <CAM2MZ3H5QpkC1UUX4i_o_zQxwb=GuhPprZNDE=pM46tCjAg1nA@mail.gmail.com>
References: <154965299880.1299.142774066748045240@wrigleys.postgresql.org>
	<1355.1549678105@sss.pgh.pa.us>
	<CAM2MZ3H5QpkC1UUX4i_o_zQxwb=GuhPprZNDE=pM46tCjAg1nA@mail.gmail.com>

Jae Adams <appleorange2@gmail.com> writes:
> The document that I'm looking at this here.  I apologize for not sending
> the link.  I had thought that the URL would be included automatically
> through the link on the documentation website.
> -- https://www.postgresql.org/docs/11/ecpg-sql-set-autocommit.html  (shows
> the command syntax)

That is talking about an ecpg ("embedded SQL") command, which like the
psql case is a facility provided by client-side code.  There is no
autocommit-off feature on the server side, and you are not using any
client library that would offer one.

(It's a bit unfortunate that ecpg's command looks exactly like
a server command, but there you have it.)

			regards, tom lane




view thread (4+ messages)

Message-ID: <14565.1549694738@sss.pgh.pa.us>
Permalink:  ../14565.1549694738@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14565.1549694738@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, appleorange2@gmail.com, pgsql-docs@lists.postgresql.org
  Subject: Re: AutoCommit statements do no work with postgresql 11.
  In-Reply-To: <14565.1549694738@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox