#25415 [Fbk->Opn]: empty string passed to PQconnectdb()
| From: | domingo at dad-it dot com | Date: | Sun, 07 Sep 2003 16:22:30 +0000 |
| Subject: | #25415 [Fbk->Opn]: empty string passed to PQconnectdb() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47197@lists.php.net to get a copy of this message | ||
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] sniper@php.net
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=25415&edit=1