Req #47570 [Fbk->]: libpq's PG_VERSION should be exported to userland
Edit report at https://bugs.php.net/bug.php?id=47570&edit=1
ID: 47570
Updated by: yohgaki@php.net
Reported by: php at benjaminschulz dot com
Summary: libpq's PG_VERSION should be exported to userland
-Status: Feedback
+Status: To be documented
Type: Feature/Change Request
Package: PostgreSQL related
Operating System: any
PHP Version: 5.3.0beta1
Assigned To: yohgaki
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
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/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2012-04-17 07:45:35] yohgaki@php.net
Please try using this snapshot:
http://snaps.php.net/php5.4-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-03-05 10:27:30] php at benjaminschulz dot com
Description:
------------
Without a valid connection there is no way to check for the libpq-
Version ext/pgsql was built against because PG_VERSION is not exported
to userland code. A PGSQL_LIBPQ_VERSION or something would be nice. I
know that PG_VERSION is inserted as "client" into the array from
pg_version() but that would require an established connection.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=47570&edit=1
Thread (4 messages)