FreeBSD Bugzilla – Attachment 75329 Details for
Bug 108832
[patch] Problem with phppgadmin and postgresql-8.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
phppgadmin.diff
phppgadmin.diff (text/plain), 1.19 KB, created by
Henrik Brix Andersen
on 2007-02-06 14:20:20 UTC
(
hide
)
Description:
phppgadmin.diff
Filename:
MIME Type:
Creator:
Henrik Brix Andersen
Created:
2007-02-06 14:20:20 UTC
Size:
1.19 KB
patch
obsolete
>diff -urpN /usr/ports/databases/phppgadmin/Makefile phppgadmin/Makefile >--- /usr/ports/databases/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} >diff -urpN /usr/ports/databases/phppgadmin/files/patch-classes-database-Postgres81.php phppgadmin/files/patch-classes-database-Postgres81.php >--- /usr/ports/databases/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 = ''; >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 108832
: 75329