Re: Problem with public schema

From: Richard Huxton <dev(at)archonet(dot)com>
To: Nick Allan <allanni(at)rvib(dot)org(dot)au>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with public schema
Date: 2004-05-21 10:43:37
Message-ID: 40ADDD59.8000900@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nick Allan wrote:
> Hi all
> I've just started using postgres and have all my tables defined in the
> public schema.
> For some reason I'm being forced to use sql like the following
> select * from public."tblCategory";
> instead of
> select * from tblCategory;

You must have defined it as:
CREATE TABLE "tblCategory"

If you define a table using quotes, you need to quote it on access. If
you don't define using quotes, you don't need quotes on access.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2004-05-21 10:47:12 Re: feature idea – automatic up
Previous Message Richard Huxton 2004-05-21 10:42:03 Re: Unix timestamp , unix timestamp with microseconds