boolean isn't boolean?

From: Marc Britten <mbritten(at)cybernet-usa(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: boolean isn't boolean?
Date: 2000-06-21 15:40:15
Message-ID: ABFF67479EC9D111AFA30060B01AACDA03ADF699@mail
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

why does a boolean value return a t or an f?

this goes against everything i know, i'm doing a php app(first time php
first time postgres, but i have extensive knowledge of oracle, sybase, and
more than a bit of MS SQL 6.5 n 7, plus extensive knowledge of c/c++ and
java and perl and elisp)

and i have to check for $myarray[3] == 't' if i want to check for a true
value? why?

i just need to know that there was some actual logic behind this.

thanks,

marc britten

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-06-21 16:42:44 Re: libpq error codes
Previous Message Sevo Stille 2000-06-21 14:19:29 Re: Help:How do you find that how much storage is taken by the database??