Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gsI4F-0001wa-Kj for pgsql-docs@arkaria.postgresql.org; Sat, 09 Feb 2019 02:08:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gsI4E-0004GW-56 for pgsql-docs@arkaria.postgresql.org; Sat, 09 Feb 2019 02:08:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gsI4D-0004GO-Vi for pgsql-docs@lists.postgresql.org; Sat, 09 Feb 2019 02:08:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gsI4C-00008m-0L for pgsql-docs@lists.postgresql.org; Sat, 09 Feb 2019 02:08:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x1928PB6001356; Fri, 8 Feb 2019 21:08:25 -0500 From: Tom Lane To: appleorange2@gmail.com cc: pgsql-docs@lists.postgresql.org Subject: Re: AutoCommit statements do no work with postgresql 11. In-reply-to: <154965299880.1299.142774066748045240@wrigleys.postgresql.org> References: <154965299880.1299.142774066748045240@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Fri, 08 Feb 2019 19:09:58 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1354.1549678105.1@sss.pgh.pa.us> Date: Fri, 08 Feb 2019 21:08:25 -0500 Message-ID: <1355.1549678105@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Doc comments form writes: > I have a c++ library built with libpq.so, and I am trying to run the > statements "SET AUTOCOMMIT TO ON" and "SET AUTOCOMMIT TO OFF". According to > the docs, it looks like those statements are valid. Uh ... exactly what documentation are you looking at? PG hasn't supported server-side autocommit since 7.3.x. There is an autocommit variable in psql, but we concluded the server-side feature broke far more client code than it helped. regards, tom lane