Boolean Implicitly Typed? - Mailing list pgsql-hackers

From
Subject Boolean Implicitly Typed?
Date
Msg-id Pine.LNX.4.30.0108101410320.26252-100000@commandprompt.com
Whole thread Raw
List pgsql-hackers
Good day,

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

Don't the boolean values true and false qualify as an implicitly typed
constants as well, as they don'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, or am I not quite grasping the
specific connotation of 'implicitly typed' constants? Thoughts? ;)


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



pgsql-hackers by date:

Previous
From:
Date:
Subject: Maintained Date Formats
Next
From: Martín Marqués
Date:
Subject: problem with patch