| From: | <pgsql-general(at)commandprompt(dot)com> |
|---|---|
| To: | <pgsql-general(at)postgresql(dot)org> |
| Subject: | Boolean Constants Implicit? |
| Date: | 2001-08-10 18:13:14 |
| Message-ID: | Pine.LNX.4.30.0108101110140.22311-100000@commandprompt.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)commandprompt(dot)com by way of pgsql-general(at)commandprompt(dot)com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mike Mascari | 2001-08-10 18:15:49 | Re: why does this select hang postgres??? |
| Previous Message | pgsql-general | 2001-08-10 18:09:22 | Re: why does this select hang postgres??? |