php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25415 pg_connect() using connectstring only connect with default database
Submitted: 2003-09-07 12:13 UTC Modified: 2003-09-18 06:03 UTC
From: domingo at dad-it dot com Assigned:
Status: No Feedback Package: PostgreSQL related
PHP Version: 4.3.3 OS: linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-09-07 12:13 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-07 12:18 UTC] 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:22 UTC] domingo at dad-it dot com
Any attempt to connect to a database other than the default for the current user doesn't work
 [2003-09-07 12:25 UTC] sniper@php.net
*sigh*...try give an EXAMPLE what you did. 

 [2003-09-18 06:03 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 05:01:30 2024 UTC