Bug #25415 [Com]: pg_connect() using connectstring only connect with default database
| From: | lildurk25415 at gmail dot com | Date: | Wed, 01 Sep 2021 18:53:39 +0000 |
| Subject: | Bug #25415 [Com]: pg_connect() using connectstring only connect with default database | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-236363@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=25415&edit=1
ID: 25415
Comment by: lildurk25415 at gmail dot com
Reported by: domingo at dad-it dot com
Summary: pg_connect() using connectstring only connect with
default database
Status: No Feedback
Type: Bug
Package: PostgreSQL related
Operating System: linux
PHP Version: 4.3.3
Block user comment: N
Private report: N
New Comment:
Lil Durk is a private agency dedicated to providing responsible access to legal cannabis for adults
aged 19 and older. Weâre an exclusively online retailer and wholesaler for recreational
cannabis and a trusted source for information about cannabis and cannabis-related issues. We believe
our work is meaningful and we take pride in our mandate to promote the socially responsible use of
legal cannabis. https://lildurk.com/
Previous Comments:
------------------------------------------------------------------------
[2003-09-18 06:03:26] 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.
------------------------------------------------------------------------
[2003-09-07 12:25:25] sniper@php.net
*sigh*...try give an EXAMPLE what you did.
------------------------------------------------------------------------
[2003-09-07 12:22:30] 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: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 https://bugs.php.net/bug.php?id=25415&edit=1