#19727 [Opn->Csd]: Diffrent return-types on pg_connect and pg_pconnect
| From: | derick@php.net | Date: | Thu, 03 Oct 2002 06:29:54 +0000 |
| Subject: | #19727 [Opn->Csd]: Diffrent return-types on pg_connect and pg_pconnect | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969348949@lists.php.net to get a copy of this message | ||
ID: 19727
Updated by: derick@php.net
Reported By: sjon@sjondamon.org
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: N/A
PHP Version: 4.2.3
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
All connect functions return a resource, I fixed this for the
PostGreSQL documentions. If you find more inconsistencies, please drop
a mail to phpdoc@lists.php.net .
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-10-02 17:56:52] sjon@sjondamon.org
I just noticed that pg_connect returns a resource, while pg_pconnect
returns an int.
All databases that I've worked with used one or the other, but always
the same for both normal and persistant connections.
Question is, wich is right?
Regards, Sjon.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19727&edit=1