Re: Boolean variables...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Cath Lawrence <Cath(dot)Lawrence(at)anu(dot)edu(dot)au>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Boolean variables...
Date: 2003-08-29 03:32:11
Message-ID: 20494.1062127931@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Cath Lawrence <Cath(dot)Lawrence(at)anu(dot)edu(dot)au> writes:
> If I try to set a boolean to 'f' it works; if I set it to 't' it
> actually sets it to false...

Not here:

regression=# create table t1 (f1 boolean);
CREATE TABLE
regression=# insert into t1 values('f');
INSERT 1201117 1
regression=# insert into t1 values('t');
INSERT 1201118 1
regression=# select * from t1;
f1
----
f
t
(2 rows)

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Nabil Sayegh 2003-08-29 15:20:21 "PostgreSQL now has working, tested, scalable replication!"
Previous Message Nabil Sayegh 2003-08-29 02:59:14 Re: select items, and max id