From: SourceForge.net <no...@so...> - 2006-06-02 14:28:40
|
Bugs item #882032, was opened at 2004-01-22 11:22 Message generated for change (Settings changed) made by ghaering You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116528&aid=882032&group_id=16528 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: libpq Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Michael Howitz (icemac) Assigned to: Billy G. Allie (ballie01) Summary: Wrong PG_Version check for dbExperts PostgreSQL Initial Comment: We have dbExperts PostgreSQL (a native Postgres for Windows). The dbExperts people add a -dbexperts to the VersionString (after the Version number). This makes pgversion.c upset. We are using pypgsql version 2.4 Attached is a patch to fix this issue. ---------------------------------------------------------------------- >Comment By: Gerhard Häring (ghaering) Date: 2006-06-02 16:28 Message: Logged In: YES user_id=163326 Thanks for the patch. I applied it to CVS and adjusted the test suite accordingly. ---------------------------------------------------------------------- Comment By: Rune Frøysa (runefro) Date: 2004-05-13 13:27 Message: Logged In: YES user_id=604567 This problem also affects rh-postgresql-server-7.3.6-1 from redhat. With the patch, the only error from test/PgSQLTestCases.py is: FAIL: CheckPgVer (__main__.PgSQLTestCases) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/PgSQLTestCases.py", line 591, in CheckPgVer self.fail(msg) File "/usr/lib/python2.2/unittest.py", line 254, in fail raise self.failureException, msg AssertionError: SELECT version() says 7.3.6-RH, cnx.version says 7.3.6 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116528&aid=882032&group_id=16528 |