Boolean Implicitly Typed?

From: <pgsql-hackers(at)commandprompt(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Boolean Implicitly Typed?
Date: 2001-08-10 21:12:15
Message-ID: Pine.LNX.4.30.0108101410320.26252-100000@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)commandprompt(dot)com
by way of pgsql-hackers(at)commandprompt(dot)com

Browse pgsql-hackers by date

  From Date Subject
Next Message Martín Marqués 2001-08-10 21:26:12 problem with patch
Previous Message pgsql-hackers 2001-08-10 21:08:54 Maintained Date Formats