https://bugzilla.wikimedia.org/show_bug.cgi?id=16937





--- Comment #38 from Tim Starling <[email protected]>  2009-05-11 
11:20:40 UTC ---
I finally installed Windows and reproduced this locally. It was easily isolated
and Pierre-Alain Joye offered to commit my patches (despite my rudeness on
IRC):

<http://cvs.php.net/viewvc.cgi/php-src/ext/pgsql/config.w32?view=log>

Search for HAVE_PQPROTOCOLVERSION. With a bit of luck they should be in the
5.2.10 and 5.3.0 releases. 

It turns out that the bug is mostly limited to pg_version().
HAVE_PQPROTOCOLVERSION has never been defined for Windows builds, despite them
having required PG 8.1+ for some time. We can check the server version with
Etienne's method, check the client version for sanity, and then continue with
the installation. 

Analysis of the source code suggests two minor related bugs:

* The ROLLBACK on request shutdown will be done unconditionally, instead of
testing for an open transaction
* Persistent connections won't have RESET ALL run on them each time they are
reused.

Neither affects us, as far as I can tell.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to