php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #47570 libpq's PG_VERSION should be exported to userland
Submitted: 2009-03-05 10:27 UTC Modified: 2012-04-17 07:45 UTC
From: php at benjaminschulz dot com Assigned: yohgaki (profile)
Status: Closed Package: PostgreSQL related
PHP Version: 5.3.0beta1 OS: any
Private report: No CVE-ID: None
 [2009-03-05 10:27 UTC] 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. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-01 23:17 UTC] jani@php.net
-Package: Feature/Change Request +Package: PostgreSQL related
 [2012-03-29 09:56 UTC] yohgaki@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: yohgaki
 [2012-04-17 07:45 UTC] yohgaki@php.net
-Status: Assigned +Status: Feedback
 [2012-04-17 07:45 UTC] yohgaki@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.4-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2012-04-17 07:45 UTC] yohgaki@php.net
-Status: Feedback +Status: To be documented
 [2012-04-17 07:45 UTC] yohgaki@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 15:01:30 2024 UTC