pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Schonefeld <peter.schonefeld@bigpond.com>
To: pgsql-admin@postgresql.org
Subject: ERROR:  relation "mytable" does not exist
Date: Wed, 4 May 2005 22:54:59 +1000
Message-ID: <MLEOIJCPDKMMGACMJGHDGEEEGHAA.peter.schonefeld@bigpond.com> (raw)

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





view thread (2+ messages)  latest in thread

Message-ID: <MLEOIJCPDKMMGACMJGHDGEEEGHAA.peter.schonefeld@bigpond.com>
Permalink:  ../MLEOIJCPDKMMGACMJGHDGEEEGHAA.peter.schonefeld@bigpond.com/
Also on:    postgresql.org/message-id/MLEOIJCPDKMMGACMJGHDGEEEGHAA.peter.schonefeld@bigpond.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: peter.schonefeld@bigpond.com
  Subject: Re: ERROR:  relation "mytable" does not exist
  In-Reply-To: <MLEOIJCPDKMMGACMJGHDGEEEGHAA.peter.schonefeld@bigpond.com>
  References: <MLEOIJCPDKMMGACMJGHDGEEEGHAA.peter.schonefeld@bigpond.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox