Author: turnstep
Date: Sun Oct 21 13:17:53 2007
New Revision: 10102

Modified:
   DBD-Pg/trunk/t/09arrays.t

Log:
Fix small error in role rights testing.


Modified: DBD-Pg/trunk/t/09arrays.t
==============================================================================
--- DBD-Pg/trunk/t/09arrays.t   (original)
+++ DBD-Pg/trunk/t/09arrays.t   Sun Oct 21 13:17:53 2007
@@ -259,8 +259,8 @@
 
 ## Pure string to array conversion testing
 
-## Find a valid role to use
-$SQL = "SELECT rolname FROM pg_roles LIMIT 1";
+## Use ourselves as a valid role
+$SQL = "SELECT current_role";
 my $role = $dbh->selectall_arrayref($SQL)->[0][0];
 
 my $array_tests_out = 

Reply via email to