Re: Bug #914: Possible bug with regards to multiple persistant connections
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Bug #914: Possible bug with regards to multiple persistant connections |
| Дата | |
| Msg-id | 12243.1048114245@sss.pgh.pa.us обсуждение |
| Ответ на | Bug #914: Possible bug with regards to multiple persistant connections (pgsql-bugs@postgresql.org) |
| Список | pgsql-bugs |
pgsql-bugs@postgresql.org writes:
> I have a database with a single associated user account that owns the database. I connect using a to this database
andbegin a transaction and start doing inserts and updates. However, I want to commit some other data to the same
databasein a table (unrelated to those being modified through the first connection) outside of the transaction so I
opena second persistant connection under the same user account and I write this information using an INSERT. In the
firstconnection, I roll back the transaction and the insert I did under the second connection also gets rolled back.
Isthis supposed to occur?
Sounds to me like your "second persistent connection" is the same
connection. Better re-read the PHP docs ...
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера