Re: Error when creating table with boolean data type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: William Carithers <wccarithers(at)lbl(dot)gov>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error when creating table with boolean data type
Date: 2009-11-18 03:15:44
Message-ID: 9390.1258514144@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

William Carithers <wccarithers(at)lbl(dot)gov> writes:
> OK, found it. I was trying to name a column with a keyword ('like'). The
> error message threw me off. Sorry for the spam.

FWIW, 8.4 and up will give you an error cursor on this:

ERROR: relation "boolean" does not exist
LINE 14: like boolean,
^

which doesn't directly say that "like" is the problem but might at least
help a little bit.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2009-11-18 03:54:05 Re: Where do you store key for encryption
Previous Message Naoko Reeves 2009-11-18 03:12:31 Where do you store key for encryption