[suspicious - maybe spam] [suspicious - maybe spam] multiple databases with one connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux