On Thu, 14 Oct 2004 14:30:18 -0500 (CDT), Jonathan Villa <[EMAIL PROTECTED]> wrote:
> I'm assuming that I need to close the persistent connection before I can
> open a new one, but from my understanding, persistent connections cannot
> be closed...

That is true for all persistant db connection functions, pg_pconnect,
mysql_pconnect, etc.

http://www.php.net/manual/en/features.persistent-connections.php is a
pretty good read.

> Is the persistent connection open only to the database in which it was
> opened for?  How can I choose a different database?

For Postgres you have to create a new (2nd) connection, since the
database is selected when the connection occurs.


-- 
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to