Re: [ADMIN] Persistent Connections with PHP and PostgreSQL

2002-02-06 Thread Felipe Nascimento
Title: RE: [ADMIN] Persistent Connections with PHP and PostgreSQL Do I have to call pg_close() every time at the end of the script?? Tks Felipe -Original Message- From: Phill Kenoyer [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 6 de fevereiro de 2002 16:24 To: Felipe Nascimento

Re: [ADMIN] Persistent Connections with PHP and PostgreSQL

2002-02-06 Thread Phill Kenoyer
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 1

Re: [ADMIN] Persistent Connections with PHP and PostgreSQL

2002-02-06 Thread Phill Kenoyer
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 ([EMAIL

[ADMIN] Persistent Connections with PHP and PostgreSQL

2002-02-06 Thread Felipe Nascimento
Title: Persistent Connections with PHP and PostgreSQL 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 warnin