Boolean Implicitly Typed?

Поиск
Список
Период
Сортировка
От
Тема Boolean Implicitly Typed?
Дата
Msg-id Pine.LNX.4.30.0108101410320.26252-100000@commandprompt.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От:
Дата:
Сообщение: Maintained Date Formats
Следующее
От: Martín Marqués
Дата:
Сообщение: problem with patch