| От | Phill Kenoyer |
|---|---|
| Тема | Re: Persistent Connections with PHP and PostgreSQL |
| Дата | |
| Msg-id | 20020206211643.GY27030@home.c0de.net обсуждение |
| Ответ на | Persistent Connections with PHP and PostgreSQL (Felipe Nascimento <Felipe.Nascimento@multivalor.com.br>) |
| Список | pgsql-admin |
PHP will close the connection at the end of the script. I always call
pg_close() when I'm done accessing the db. If your script is short and
quick, then it should not be a problem. If it does some more processing
on the data after you finished with the connection, why keep it open?
|On 020206 13:11
|Felipe Nascimento (Felipe.Nascimento@multivalor.com.br) wrote the following...
|
|Do I have to call pg_close() every time at the end of the script??
|
|Tks
|Felipe
|
--
BOFH Reason of the day: backup tape overwritten with copy of system manager's favourite CD
_ | _
(_()(|('.|)('||.|()|`|(
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера