Re: Number of connections

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Number of connections
Дата
Msg-id 15ff01c320d0$e89bb1f0$6500a8c0@fhp.internal
обсуждение исходный текст
Ответ на Number of connections  ("David Busby" <busby@pnts.com>)
Ответы Re: Number of connections  ("scott.marlowe" <scott.marlowe@ihs.com>)
Список pgsql-php
> Maybe a stupid question, but I wondered if when using persisten
> connection, I could be sure there would be no problem. From the doc,
> currval  "Returns the value most recently obtained by nextval  for this
> sequence in the current server process."
>
> Can you confirm me several script using the same persistent connection
> in parallel are in separate server processes?

PHP will execute 'begin; rollback;' to your connection before passing it to
another PHP process, guaranteeing that unclosed transactions won't leak.

Chris


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

Предыдущее
От: Raphael Bauduin
Дата:
Сообщение: Re: Number of connections
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: phpPgAdmin 3.0 Beta 1 Released