Re: Boolean variables... - Mailing list pgsql-novice

From Tom Lane
Subject Re: Boolean variables...
Date
Msg-id 20494.1062127931@sss.pgh.pa.us
Whole thread Raw
In response to Boolean variables...  (Cath Lawrence <Cath.Lawrence@anu.edu.au>)
List pgsql-novice
Cath Lawrence <Cath.Lawrence@anu.edu.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

pgsql-novice by date:

Previous
From: Nabil Sayegh
Date:
Subject: Re: select items, and max id
Next
From: Nabil Sayegh
Date:
Subject: "PostgreSQL now has working, tested, scalable replication!"