PHP 4.0 Bug #6198 Updated: Connecting to Postgres backend
| From: | Bug Database | Date: | Wed, 23 Aug 2000 23:15:25 +0000 |
| Subject: | PHP 4.0 Bug #6198 Updated: Connecting to Postgres backend | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30443@lists.php.net to get a copy of this message | ||
ID: 6198
Updated by: jah
Reported By: goran@cenis.org.yu
Status: Assigned
Bug Type: Documentation problem
Assigned To: jah
Comments:
Writing pg_connect() the way it would work with both older and newer versions of
PostgreSQL seems a bit unnecessary work, because the same time PQsetdbLogin()
replaced PQsetdb() in PostgreSQL APIs, there came also a new function PQconnectdb(), that takes one
argument, a connection argument string. That's the current preferred way, because using it, the
calling application doesn't actually have to now anything about the possible parameters, and
they can be changed or there can be additions at the will of PostgreSQL developer team. PHP manual
just notes that pg_connect() can be called this way too, not that the old way this is deprecated.
This should/will be fixed in the manual.
-- Jouni
PS. Jani, hieno juttu että joku tosiaan jaksaa käydä näitä bugeja läpi, mutta ihan kaikkeen ei
ehkä pidä koskea tietämättä täsmälleen mistä on kyse.... No, olihan tää multakin kyllä
fixaamatta.
Full Bug description available at: http://bugs.php.net/?id=6198