set auto commit is not working

Started by PG Bug reporting formabout 5 years ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/ecpg-sql-set-autocommit.html
Description:

I tested with " PostgreSQL 13.2 on x86_64-pc-linux-gnu, compiled by gcc
(GCC) 8.3.1 20191121 (Red Hat 8.3.1-5), 64-bit"

The result is below.

postgres=# set autocommit to off ;
ERROR: unrecognized configuration parameter "autocommit"

I think the document must clearly say this is not supported;

#2Magnus Hagander
magnus@hagander.net
In reply to: PG Bug reporting form (#1)
Re: set auto commit is not working

On Thu, Feb 25, 2021 at 5:06 PM PG Doc comments form
<noreply@postgresql.org> wrote:

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/ecpg-sql-set-autocommit.html
Description:

I tested with " PostgreSQL 13.2 on x86_64-pc-linux-gnu, compiled by gcc
(GCC) 8.3.1 20191121 (Red Hat 8.3.1-5), 64-bit"

The result is below.

postgres=# set autocommit to off ;
ERROR: unrecognized configuration parameter "autocommit"

I think the document must clearly say this is not supported;

You are looking at the documentation for ECPG, but using psql. The
ECPG documentation only applies to ECPG.

--
Magnus Hagander
Me: https://www.hagander.net/
Work: https://www.redpill-linpro.com/