Boolean Constants Implicit?

Поиск
Список
Период
Сортировка
От
Тема Boolean Constants Implicit?
Дата
Msg-id Pine.LNX.4.30.0108101110140.22311-100000@commandprompt.com
обсуждение исходный текст
Ответ на Re: PL/Perl on Solaris  (Travis Bauer <trbauer@indiana.edu>)
Список 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 по дате отправления:

Предыдущее
От:
Дата:
Сообщение: Re: why does this select hang postgres???
Следующее
От:
Дата:
Сообщение: Re: why does this select hang postgres???