Re: psql \watch versus \timing

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: psql \watch versus \timing
Дата
Msg-id CAM-w4HN+NUGvYG7qAJWJX9vf174FSSBbWLrq=5031iRHhbhkfQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psql \watch versus \timing  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: psql \watch versus \timing  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On Wed, Sep 3, 2014 at 12:48 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> OK, then as all the comments are basically addressed, here is an
> updated patch correcting the comment problems mentioned by Heikki.

I just tried this and found it doesn't cooperate well with AUTOCOMMIT
= 'off' and ON_ERROR_ROLLBACK = 'on'. Previously \watch would leave
the transaction in a normal state after C-c but now it leaves the
transaction in an aborted state. I assume it previously did a
savepoint around each execution and now it's not doing that at all.

-- 
greg



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [v9.5] Custom Plan API
Следующее
От: Alexey Klyukin
Дата:
Сообщение: Re: Enable WAL archiving even in standby