#25420 [NEW]: pg_connect using connectstring only connect with default database
| From: | domingo at dad-it dot com | Date: | Sun, 07 Sep 2003 22:55:41 +0000 |
| Subject: | #25420 [NEW]: pg_connect using connectstring only connect with default database | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-47212@lists.php.net to get a copy of this message | ||
From: domingo at dad-it dot com
Operating system: Linux SUSE 7.3
PHP version: 4.3.3
PHP Bug Type: PostgreSQL related
Bug description: pg_connect using connectstring only connect with default database
Description:
------------
pg_connect using connectstring only connect with default database, for
some reason php calls PQconnect() with a blank string and with that only
default database connexion is made.
Reproduce code:
---------------
Any attempt to connect using connectstring to other database tha default.
Expected result:
----------------
Connect to specified database
Actual result:
--------------
Only connect to default database.
--
Edit bug report at http://bugs.php.net/?id=25420&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25420&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25420&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25420&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25420&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25420&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25420&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25420&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25420&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25420&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25420&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25420&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25420&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25420&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25420&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25420&r=gnused