Boolean Constants Implicit? - Mailing list pgsql-general

From
Subject Boolean Constants Implicit?
Date
Msg-id Pine.LNX.4.30.0108101110140.22311-100000@commandprompt.com
Whole thread Raw
In response to Re: PL/Perl on Solaris  (Travis Bauer <trbauer@indiana.edu>)
List pgsql-general
Good day,

The on-line documentation lists that PostgreSQL supports only four
implicitly typed constants: string, bit string, integer and floating
point.

Doesn't boolean (true/false) qualify as an implicitly typed as well, as
it doesn't need to be bound by single quotes? For example:

lx=# SELECT true AS bool_const_t, false AS bool_const_f;
 bool_const_t | bool_const_f
--------------+--------------
 t            | f
(1 row)

lx=#

Is this documentation just out of date? Thoughts? ;)


Regards,
Jw.
--
jlx@commandprompt.com by way of pgsql-general@commandprompt.com



pgsql-general by date:

Previous
From:
Date:
Subject: Re: why does this select hang postgres???
Next
From:
Date:
Subject: Re: why does this select hang postgres???