Edit report at https://bugs.php.net/bug.php?id=47570&edit=1
ID: 47570 Updated by: [email protected] Reported by: php at benjaminschulz dot com Summary: libpq's PG_VERSION should be exported to userland -Status: Open +Status: Assigned Type: Feature/Change Request Package: PostgreSQL related Operating System: any PHP Version: 5.3.0beta1 -Assigned To: +Assigned To: yohgaki Block user comment: N Private report: N 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
