Re: Table appears on listing but can't drop it - Mailing list pgsql-general

From Sam Mason
Subject Re: Table appears on listing but can't drop it
Date
Msg-id 20100108164416.GE5407@samason.me.uk
Whole thread Raw
In response to Table appears on listing but can't drop it  (Fernando Morgenstern <fernando@consultorpc.com>)
Responses Re: Table appears on listing but can't drop it  (Rikard Bosnjakovic <rikard.bosnjakovic@gmail.com>)
List 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/

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Table appears on listing but can't drop it
Next
From: Konrad Garus
Date:
Subject: Re: Rows missing from table despite FK constraint