From: | Sam Mason <sam(at)samason(dot)me(dot)uk> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Table appears on listing but can't drop it |
Date: | 2010-01-08 16:44:16 |
Message-ID: | 20100108164416.GE5407@samason.me.uk |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, Jan 08, 2010 at 02:39:03PM -0200, Fernando Morgenstern wrote:
> postgres=# \l
> List of databases
> Name | Owner | Encoding | Collation | Ctype | Access privileges
> -----------+----------+----------+-------------+-------------+-----------------------
> skynet | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
> t1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
> template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres
> : postgres=CTc/postgres
> template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres
> : postgres=CTc/postgres
There's an extra space at the beginning of the "skynet" line, could it
be that you created it with special characters in the name? To check,
I'd try:
select quote_ident(datname) from pg_database;
--
Sam http://samason.me.uk/
From | Date | Subject | |
---|---|---|---|
Next Message | Konrad Garus | 2010-01-08 16:44:32 | Re: Rows missing from table despite FK constraint |
Previous Message | Adrian Klaver | 2010-01-08 16:41:50 | Re: Table appears on listing but can't drop it |