ERROR: relation "mytable" does not exist

From: "Peter Schonefeld" <peter(dot)schonefeld(at)bigpond(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: ERROR: relation "mytable" does not exist
Date: 2005-05-04 12:54:59
Message-ID: MLEOIJCPDKMMGACMJGHDGEEEGHAA.peter.schonefeld@bigpond.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi, I'm a postgres newbie trying to convert a small SQL Server database to
postgres 8.0 .

A typical table that i've created looks like this...

CREATE TABLE "Country"
(
"Id" int2 NOT NULL,
"Name" varchar(50) NOT NULL,
CONSTRAINT "PK_Country" PRIMARY KEY ("Id")
)
WITHOUT OIDS;
ALTER TABLE "Country" OWNER TO postgres;
COMMENT ON TABLE "Country" IS 'listing of countries';

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

Also, I'm looking for a good function reference.

Any help would be appreciated.

Regards
Pete

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Mohan, Ross 2005-05-04 15:15:29 Re: REMOVE
Previous Message David A. Leedom 2005-05-04 10:16:19 Re: ODBC + pgsql on win32