Обсуждение: Transaction Management requires Autocommit

Поиск
Список
Период
Сортировка

Transaction Management requires Autocommit

От
PG Doc comments form
Дата:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/plpgsql-transactions.html
Description:

It's worth mentioning that "Transaction Management" requires "Autocommit" to
be ON. Otherwise you get an error.

Re: Transaction Management requires Autocommit

От
Bruce Momjian
Дата:
On Mon, Dec 30, 2019 at 10:15:35AM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/11/plpgsql-transactions.html
> Description:
> 
> It's worth mentioning that "Transaction Management" requires "Autocommit" to
> be ON. Otherwise you get an error.

Uh, you can only turn off autocommit on the client side, like psql, not
in the server.  What commands are you issuing and what error are you
sseing?

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +