|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-06-03 12:35 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 18:00:01 2025 UTC |
Description: ------------ pg_version returns 8.3.1 for the client version and doesn't return anything for the server version. We've tested on multiple machines with Postgresql 8.3.7. We've checked our path variables, the version numbers on psql, libpg.dll, what select version() returns and whether we had any other copies of libpg.dll on our machines. Reproduce code: --------------- <?php $dbconn = pg_connect("some connection string") or die("Could not connect"); $v = pg_version($dbconn); print_r($v); ?> Expected result: ---------------- to see pg_version return client and server as 8.3.7 Actual result: -------------- 8.3.1 for client and no other values