Re: relation does not exist error

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: Simon Wittber <simonwittber(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: relation does not exist error
Date: 2004-12-03 03:22:11
Message-ID: 87llcgcbh8.fsf@asmodeus.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Simon Wittber <simonwittber(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alec Swan 2004-12-03 03:30:55 table inheritance and DB design
Previous Message Michael Fuhr 2004-12-03 03:18:54 Re: relation does not exist error