#25415 [NEW]: empty string passed to PQconnectdb()
From: domingo at dad-it dot com Operating system: linux PHP version: 4.3.3 PHP Bug Type: PostgreSQL related Bug description: empty string passed to PQconnectdb() Description: When using the pg_connect with only one parameter (conection string) a empty string is passed to PQconnectdb() allowing only connection to default dabase for the current user. -- Edit bug report at http://bugs.php.net/?id=25415edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25415r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25415r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25415r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25415r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25415r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25415r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=25415r=support Expected behavior: http://bugs.php.net/fix.php?id=25415r=notwrong Not enough info:http://bugs.php.net/fix.php?id=25415r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=25415r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25415r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25415r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25415r=dst IIS Stability: http://bugs.php.net/fix.php?id=25415r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=25415r=gnused
#25415 [Fbk-Opn]: empty string passed to PQconnectdb()
ID: 25415 User updated by: domingo at dad-it dot com Reported By: domingo at dad-it dot com -Status: Feedback +Status: Open Bug Type: PostgreSQL related Operating System: linux PHP Version: 4.3.3 New Comment: Any attempt to connect to a database other than the default for the current user doesn't work Previous Comments: [2003-09-07 12:18:07] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to Open. Thank you for your interest in PHP. [2003-09-07 12:13:37] domingo at dad-it dot com Description: When using the pg_connect with only one parameter (conection string) a empty string is passed to PQconnectdb() allowing only connection to default dabase for the current user. -- Edit this bug report at http://bugs.php.net/?id=25415edit=1
#25420 [NEW]: pg_connect using connectstring only connect with default database
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=25420edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25420r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25420r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25420r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25420r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25420r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25420r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=25420r=support Expected behavior: http://bugs.php.net/fix.php?id=25420r=notwrong Not enough info:http://bugs.php.net/fix.php?id=25420r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=25420r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25420r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25420r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25420r=dst IIS Stability: http://bugs.php.net/fix.php?id=25420r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=25420r=gnused
#25420 [Bgs]: pg_connect using connectstring only connect with default database
ID: 25420 User updated by: domingo at dad-it dot com Reported By: domingo at dad-it dot com Status: Bogus Bug Type: PostgreSQL related Operating System: Linux SUSE 7.3 PHP Version: 4.3.3 New Comment: Sorry my email was not working Previous Comments: [2003-09-07 19:00:36] [EMAIL PROTECTED] Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the existing bug instead. Thank you for your interest in PHP. *SIGH* bug #25415 [2003-09-07 18:55:41] domingo at dad-it dot com 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 this bug report at http://bugs.php.net/?id=25420edit=1