Re: Dropping a database that does not exist - Mailing list pgsql-general

From Tom Lane
Subject Re: Dropping a database that does not exist
Date
Msg-id 28288.1139841336@sss.pgh.pa.us
Whole thread Raw
In response to Re: Dropping a database that does not exist  (Tham Shiming <shiming@misatravel.com>)
List pgsql-general
Tham Shiming <shiming@misatravel.com> writes:
> OK, checking pg_shadow, the usesysid for each entry is unique.
> pg_database, however, showed the duplicate databases. A short sample
> output from pgAdmin.

> datname    datdba
> db1        101
> db1        101
> db2        102
> db3        103
> db3        103

Does anyone know what the underlying query is that pgadmin uses for
this display?

            regards, tom lane

pgsql-general by date:

Previous
From: Tham Shiming
Date:
Subject: Re: Dropping a database that does not exist
Next
From: "Dave Page"
Date:
Subject: Re: Dropping a database that does not exist