Re: psql or pgbouncer bug?

Поиск
Список
Период
Сортировка
От Jakub Ouhrabka
Тема Re: psql or pgbouncer bug?
Дата
Msg-id 4BF6B7D8.3000707@comgate.cz
обсуждение исходный текст
Ответ на Re: psql or pgbouncer bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Tom:

 > Looks like the disconnect was because pgbouncer restarted.  If that
 > wasn't supposed to happen then you should take it up with the
 > pgbouncer folk.

The restart of pgbouncer was intentional, although made by someone else,
so the disconnect is ok. What's not ok is the "UPDATE 153" message after
message with connection lost and the fact that the UPDATE was committed
to database without explicit COMMIT. Maybe pgbouncer issued the commit?

Stefan:

 > hmm - and you are really sure that the update got commited in the
 > end(even if you got the "UPDATE 153" it should have been rollbacked as
 > soon as the connection got dropped)?

Quite sure. I've seen it on my colleague's screen (afterwards) and saved
it to text file. Before the "BEGIN; UPDATE" there was "SELECT * FROM
table" which showed the state of table and just after the unsuccessful
"ROLLBACK" the "SELECT * from table" was issued again and showed updated
table. No one else worked with the table and the change is definitely
committed. The .psql_history contains exactly this as well.

Kuba

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

Предыдущее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: psql or pgbouncer bug?
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: BUG #5468: Pg doesn't send accepted root CA list to client during SSL client cert request