Re: Persistent Connections with PHP and PostgreSQL

Поиск
Список
Период
Сортировка
От Phill Kenoyer
Тема Re: Persistent Connections with PHP and PostgreSQL
Дата
Msg-id 20020206182416.GO27030@home.c0de.net
обсуждение исходный текст
Ответ на Persistent Connections with PHP and PostgreSQL  (Felipe Nascimento <Felipe.Nascimento@multivalor.com.br>)
Список pgsql-admin
Its a bug in PHP.  Also, PHP 4.1.1 is the latest version.  I have not
tried it with this new version yet.  I switched from pconnect to just
connect and I did not see much difference.  I dont run into the out of
connections problem any more so I'm happy.

|On 020206 10:00
|Felipe Nascimento (Felipe.Nascimento@multivalor.com.br) wrote the following...
|
|Dears,
|
|I am using PostgreSQL 7.1.3 with PHP4.0.6.
|I'm trying to establish persistent connections with pg_pconnect() function
|from PHP.
|There are some problems like there was too many connections being
|established. Sometimes I get a warning "Supplied argument is not a valid
|PostgreSQL link resource in...". Other times, when I try to connect with
|psql, I get "Sorry, too many clients".
|
|Suggestions?
|
|Is it better to use persistent connections over normal connections (despite
|the fact that I have to close all the normal connections whenever I open
|one.)??
--
BOFH Reason of the day: We only support a 28000 bps connection.
                                               _   |       _
                                              (_()(|('.|)('||.|()|`|(

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

Предыдущее
От: Felipe Nascimento
Дата:
Сообщение: Persistent Connections with PHP and PostgreSQL
Следующее
От: Manav
Дата:
Сообщение: pg_dump version