Author: turnstep
Date: Wed May  7 20:40:14 2008
New Revision: 11217

Modified:
   DBD-Pg/trunk/t/dbdpg_test_setup.pl

Log:
Default to pg_ctl in search path.


Modified: DBD-Pg/trunk/t/dbdpg_test_setup.pl
==============================================================================
--- DBD-Pg/trunk/t/dbdpg_test_setup.pl  (original)
+++ DBD-Pg/trunk/t/dbdpg_test_setup.pl  Wed May  7 20:40:14 2008
@@ -205,8 +205,7 @@
 
                ## Make sure pg_ctl is available as well before we go further
                if (! -e $pg_ctl) {
-                 $@ = 'Could not find a pg_ctl executable to start the test 
database';
-                 last GETHANDLE;
+                       $pg_ctl = 'pg_ctl';
                }
                $info = '';
                eval {

Reply via email to