Re: BUG #13841: Unable to set autocommit in psql

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: BUG #13841: Unable to set autocommit in psql
Дата
Msg-id CAKFQuwbTV2EimKMm5uRpu0GUx5CQKwp1YKAiXB2Adt3X1TEnGw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #13841: Unable to set autocommit in psql  (Guillaume Lelarge <guillaume@lelarge.info>)
Ответы Re: BUG #13841: Unable to set autocommit in psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Fri, Jan 1, 2016 at 9:19 AM, Guillaume Lelarge <guillaume@lelarge.info>
wrote:

> Hi,
>
> 2016-01-01 16:10 GMT+01:00 <floriparob@gmail.com>:
>
>> The following bug has been logged on the website:
>>
>> Bug reference:      13841
>> Logged by:          ROBERT
>> Email address:      floriparob@gmail.com
>> PostgreSQL version: 9.5rc1
>> Operating system:   Debian stretch/sid
>> Description:
>>
>>> =E2=80=8B
>>>
>> timemanager=3D> set autocommit off;
>>
>>

> Thought that I'd made a typo but entered as per doco.
>>
>>
> There's no autocommit GUC. You probably want to use the AUTOCOMMIT
> internal variable of psql. In which case, you should do :
>
> \set AUTOCOMMIT off
>
> Definitely not a bug
>

=E2=80=8BThough when referencing the documentation in a report like this it=
 is
generally helpful to provide a link to said documentation so it at least
can be checked.  But indeed the behavior is client-side only and so it
makes no sense to try and control it via SQL - which is what the command
"SET" is from.=E2=80=8B

David J.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: BUG #13841: Unable to set autocommit in psql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #13841: Unable to set autocommit in psql