Does statement_timeout apply to commit?

Поиск
Список
Период
Сортировка
От qihua wu
Тема Does statement_timeout apply to commit?
Дата
Msg-id CAPoYtoJZkq9ir=MRUiR-5d4NZr1RQtr8TDTVaQ-GQimGAyVxdA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Does statement_timeout apply to commit?  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-general
I have a patroni cluster running in sync mode and at least 2 nodes should be synced for commit. Now I brought down one node, so only one slave is in sync, and then write a java program to write the data to primary in autocommit = false mode, I set statement_timeout to 10, hopping the jave will throw exception after 10 seconds after I send a commit command to postgresq, but after 10 seconds, it didn't throw any exception, so looks like statement_timeout doesn't apply to commit. Is that theory right?.

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

Предыдущее
От: Venkata B Nagothi
Дата:
Сообщение: Re: Postgres upgrade 12 - issues with OIDs
Следующее
От: veem v
Дата:
Сообщение: Re: Sequence vs UUID