Author: infinoid
Date: Wed Jul 23 13:57:20 2008
New Revision: 29704

Modified:
   trunk/runtime/parrot/library/postgres.pir

Log:
[runtime library] Apply patch from rurban++ in RT#57112.
* Cygwin has renamed the postgres libraries; fall back to trying the cygwin 
names if the normal library names fail.


Modified: trunk/runtime/parrot/library/postgres.pir
==============================================================================
--- trunk/runtime/parrot/library/postgres.pir   (original)
+++ trunk/runtime/parrot/library/postgres.pir   Wed Jul 23 13:57:20 2008
@@ -5,6 +5,8 @@
 if $P1 goto has_lib
 loadlib $P1, 'pq'
 if $P1 goto has_lib
+loadlib $P1, 'cygpq'
+if $P1 goto has_lib
 $P2 = new 'Exception'
 $P2[0] = 'error loading libpg - loadlib failed'
 throw $P2

Reply via email to