Re: relation does not exist error - Mailing list pgsql-general

From Doug McNaught
Subject Re: relation does not exist error
Date
Msg-id 87llcgcbh8.fsf@asmodeus.mcnaught.org
Whole thread Raw
In response to relation does not exist error  (Simon Wittber <simonwittber@gmail.com>)
Responses Re: relation does not exist error  (Simon Wittber <simonwittber@gmail.com>)
List pgsql-general
Simon Wittber <simonwittber@gmail.com> writes:

> WMSDV=# \dt
>          List of relations
>  Schema |   Name    | Type  | Owner
> --------+-----------+-------+-------
>  public | Customers | table | simon
>  public | Persons   | table | simon
> (2 rows)
>
> WMSDV=# select * from Customers;
> ERROR:  relation "customers" does not exist

Identifiers get mashed to lower case unless you quote them:

SELECT * FROM "Customers";

-Doug

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: relation does not exist error
Next
From: Alec Swan
Date:
Subject: table inheritance and DB design