[suspicious - maybe spam] multiple databases with one connection

From: Date: Mon, 11 Apr 2005 04:55:15 +0000
Subject: [suspicious - maybe spam] multiple databases with one connection
Groups: php.general 
Request: Send a blank email to php-general+get-212783@lists.php.net to get a copy of this message
Hi, Is there a way to change the database after a pg_connect happens? I think in mysql, you can do mysql_select_db('newdb'), but there isn't really an equivalent function. In psql, I can use \connect "newdb", but I think that disconnect and reconnects to the new database. yulius

« previous php.general (#212783) next »