Re: databases hidden in phppgadmin

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Darren" <notross(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: databases hidden in phppgadmin
Date: 2006-07-14 15:22:31
Message-ID: 20295.1152890551@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Darren" <notross(at)hotmail(dot)com> writes:
> When I login to phppgadmin, the list of databases does not include any
> databases that are owned by a 'group' (i.e. a role with NOLOGIN set).

I'm betting that phppgadmin is using something like an inner join of
pg_database and pg_user to produce its display. As of PG 8.1 they need
to be using pg_roles instead ... and if I were them, I'd make it a LEFT
JOIN so that databases don't disappear completely if the owner can't be
found.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-07-14 15:27:03 Re: Antw: Problem with archive_command
Previous Message Merlin Moncure 2006-07-14 15:18:02 Re: Problem with archive_command