Thanks Tom, Alvaro. It was indeed caused by the carriage return. I've renamed the weird db and the problem is resolved. On Wed, May 26, 2010 at 7:14 AM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote: > Azlin Rahim <azlin.rahim@xxxxxxxxx> writes: >> I tried to do another SELECT on pg_database with the OID and here's >> what I get. Seems like there is no OID for the weird database. I'm >> stumped. > > You didn't absorb the point about funny formatting. This makes it > look even more probable that the database name contains a carriage > return. See Alvaro's reply for one way to look closer. > > regards, tom lane > -- Azlin -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general