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


Fri, 10 Aug 2001 14:12:15 -0700 (PDT)
<pgsql-hackers@commandprompt.com>
Boolean Implicitly Typed?