[Bps-public-commit] smokingit-worker branch, master, updated. f852777981f35634c7cd87372ce376540e17851d

Alex Vandiver alexmv at bestpractical.com
Wed Mar 27 18:06:54 EDT 2013


The branch, master has been updated
       via  f852777981f35634c7cd87372ce376540e17851d (commit)
      from  ff8f5b033838d4524c854641b26585894c337d4c (commit)

Summary of changes:
 lib/Smokingit/Worker/Clean/Postgres.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit f852777981f35634c7cd87372ce376540e17851d
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Mar 27 15:06:50 2013 -0700

    For compat with Pg < 9.0, use pg_user, instead of postgres.pg_user

diff --git a/lib/Smokingit/Worker/Clean/Postgres.pm b/lib/Smokingit/Worker/Clean/Postgres.pm
index 2812af2..b0e1da1 100644
--- a/lib/Smokingit/Worker/Clean/Postgres.pm
+++ b/lib/Smokingit/Worker/Clean/Postgres.pm
@@ -21,7 +21,7 @@ sub list_dbs {
 sub list_users {
     my $self = shift;
     my $users = $self->dbh->selectcol_arrayref(
-        "select usename from postgres.pg_user");
+        "select usename from pg_user");
     return @$users;
 }
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list