If you connect with pg_PConnect(), connection will be there until web server
dies unless user is using CGI. (PostgreSQL backend will be there until then)
That's the idea of persistent link, so that user can avoid connection setup for
every db connection.
However, PostreSQL connects db relatively f
wow. another postgresql user !
i use pg_connect to connect as well, including the connect script as an 'if
not connected then connect' type of thing. the connection is killed and
memory from queries freed up when the script finnishes.
incidently, i used pconnect for a while but found that connec
PHP takes care of closing it, just like other resources. However, it seems there
is bug in closing none persistent PgSQL link in current version. 4.0.5 hopefully
fix this.
Regards,
--
Yasuo Ohgaki
"Sharmad Naik" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>