Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group