Re: Problem with public schema - Mailing list pgsql-general

From Richard Huxton
Subject Re: Problem with public schema
Date
Msg-id 40ADDD59.8000900@archonet.com
Whole thread Raw
In response to Problem with public schema  ("Nick Allan" <allanni@rvib.org.au>)
List 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

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Unix timestamp , unix timestamp with microseconds
Next
From: Richard Huxton
Date:
Subject: Re: feature idea – automatic up