BUG #15170: PQtransactionStatus returns ACTIVE after Empty Commit
В списке pgsql-bugs по дате отправления:
| От | PG Bug reporting form |
|---|---|
| Тема | BUG #15170: PQtransactionStatus returns ACTIVE after Empty Commit |
| Дата | |
| Msg-id | 152458855796.19803.13664386145754757782@wrigleys.postgresql.org обсуждение |
| Ответы |
Re: BUG #15170: PQtransactionStatus returns ACTIVE after Empty Commit
|
| Список | pgsql-bugs |
The following bug has been logged on the website: Bug reference: 15170 Logged by: Rick Gabriel Email address: klaxian@gmail.com PostgreSQL version: 10.3 Operating system: Ubuntu Linux 16.04 Description: PQtransactionStatus() incorrectly returns PQTRANS_ACTIVE after committing an empty transaction block (ie. BEGIN and COMMIT without any other queries). From the documentation, I would expect PQTRANS_IDLE to be returned in this case since the connection becomes idle, outside a transaction. If no other queries are executed on the connection, it never returns to PQTRANS_IDLE even after waiting for several seconds. I am testing with the PHP 7.1 PostgreSQL module, but I think this is a universal problem with PostgreSQL's API.
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера