Re: Boolean test

From: Rudi Starcevic <rudi(at)oasis(dot)net(dot)au>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Boolean test
Date: 2002-03-18 00:53:52
Message-ID: 3C953AA0.30209@oasis.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,

Thanks for your replies.
Peter was spot on.
I was trying to use a reserved word 'public'
'public_plan' works fine.

Kind regards
Rudi Starcevic.

Peter Eisentraut wrote:

>Rudi Starcevic writes:
>
>>I can't see why my sql here is throwing an error,
>>
>
>(Next time it might be nice to show *what* error...)
>
>> SELECT *
>> FROM plan_template
>> WHERE public = true;
>>
>
>"public" is a reserved word. You need to double-quote it to be able to
>use it.
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Dorian Taylor 2002-03-18 13:14:46 Creative use of CASE in a GROUP BY clause
Previous Message Martijn van Oosterhout 2002-03-17 23:55:45 Re: Why is it not using an index?