php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25420 pg_connect using connectstring only connect with default database
Submitted: 2003-09-07 18:55 UTC Modified: 2003-09-07 19:11 UTC
From: domingo at dad-it dot com Assigned:
Status: Not a bug Package: PostgreSQL related
PHP Version: 4.3.3 OS: Linux SUSE 7.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: domingo at dad-it dot com
New email:
PHP Version: OS:

 

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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-07 19:00 UTC] sniper@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 23:01:28 2024 UTC