Error when creating table with boolean data type

From: William Carithers <wccarithers(at)lbl(dot)gov>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Error when creating table with boolean data type
Date: 2009-11-18 00:04:52
Message-ID: C7287A24.108CA%wccarithers@lbl.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I get an "Error: relation "boolean" does not exist when attempting to create
a table with columns of data type boolean. I using PostgreSQL 8.3.6 and the
docs say that it supports boolean data type and even show some create table
examples similar to mine.

Sorry for such a newbie question but it's so simple that I'm stumped.

Here's the terminal session:
quasar=# create table flags (
plate integer,
mjd integer,
fiber integer,
redshift real,
class varchar(20),
core boolean,
bonus boolean,
midz boolean,
lohiz boolean,
neural boolean,
ukidds boolean,
kde boolean,
like boolean,
first boolean,
umag real,
gmag real,
rmag real,
imag real,
zmag real,
visual varchar(20));
ERROR: relation "boolean" does not exist

Thanks.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message William Carithers 2009-11-18 00:15:03 Re: Error when creating table with boolean data type
Previous Message Nick 2009-11-17 22:29:20 Re: Can anyone help setting up pgbouncer?