Re: ERROR: relation "mytable" does not exist

From: John DeSoi <desoi(at)pgedit(dot)com>
To: "Peter Schonefeld" <peter(dot)schonefeld(at)bigpond(dot)com>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: ERROR: relation "mytable" does not exist
Date: 2005-05-05 13:31:18
Message-ID: F63E29D3-BD69-11D9-8E98-000A95B03262@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


On May 5, 2005, at 9:12 AM, Peter Schonefeld wrote:

> If i try SELECT * FROM Country, i get 'ERROR: relation "country" does
> not
> exist.

If you double quote the table and column names, you'll have to use it
that way everywhere in your code. Try

SELECT * FROM "Country";

>
> Also, I'm looking for a good reference on functions.
>

http://www.postgresql.org/docs/8.0/interactive/functions.html

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2005-05-05 14:11:56 Re: function returning record
Previous Message Peter Schonefeld 2005-05-05 13:12:28 ERROR: relation "mytable" does not exist