--- phppgadmin/Makefile Fri Jan 26 07:17:57 2007 +++ phppgadmin/Makefile Tue Feb 6 15:03:38 2007 @@ -7,6 +7,7 @@ PORTNAME= phppgadmin PORTVERSION= 4.1 +PORTREVISION= 1 CATEGORIES= databases www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= ${PORTNAME} --- phppgadmin/files/patch-classes-database-Postgres81.php Thu Jan 1 01:00:00 1970 +++ phppgadmin/files/patch-classes-database-Postgres81.php Tue Feb 6 14:01:53 2007 @@ -0,0 +1,11 @@ +--- classes/database/Postgres81.php.orig Tue Feb 6 14:00:38 2007 ++++ classes/database/Postgres81.php Tue Feb 6 14:01:02 2007 +@@ -83,7 +83,7 @@ class Postgres81 extends Postgres80 { + if (isset($conf['owned_only']) && $conf['owned_only'] && !$this->isSuperUser($server_info['username'])) { + $username = $server_info['username']; + $this->clean($username); +- $clause = " AND pu.usename='{$username}'"; ++ $clause = " AND pr.rolname='{$username}'"; + } + else $clause = ''; +