ERROR: relation "mytable" does not exist - Mailing list pgsql-novice

From Peter Schonefeld
Subject ERROR: relation "mytable" does not exist
Date
Msg-id MLEOIJCPDKMMGACMJGHDIEHOGHAA.peter.schonefeld@bigpond.com
Whole thread Raw
Responses Re: ERROR: relation "mytable" does not exist  (John DeSoi <desoi@pgedit.com>)
List pgsql-novice
Hi, I'm a postgres newbie trying to convert a small SQL Server database for
a non-commercial site to postgres 8.0 in windows xp.

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 reference on functions.

Any help would be appreciated.

Regards
Pete


pgsql-novice by date:

Previous
From: Roberto Rezende de Assis
Date:
Subject: function returning record
Next
From: John DeSoi
Date:
Subject: Re: ERROR: relation "mytable" does not exist