Req #47570 [Asn->Fbk]: libpq's PG_VERSION should be exported to userland

From: Date: Tue, 17 Apr 2012 07:45:35 +0000
Subject: Req #47570 [Asn->Fbk]: libpq's PG_VERSION should be exported to userland
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-169667@lists.php.net to get a copy of this message
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:             Assigned
+Status:             Feedback
 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:

Please try using this snapshot:

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

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




Previous Comments:
------------------------------------------------------------------------
[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)

« previous php.bugs (#169667) next »