Section 4.1.2.7 contains false information

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Section 4.1.2.7 contains false information
Дата
Msg-id 155482249597.1372.1459692771442036097@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: Section 4.1.2.7 contains false information  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/sql-syntax-lexical.html
Description:

QUOTE:
The CAST() syntax conforms to SQL. The type 'string' syntax is a
generalization of the standard: SQL specifies this syntax only for a few
data types, but PostgreSQL allows it for all types. The syntax with :: is
historical PostgreSQL usage, as is the function-call syntax.
UNQUOTE

In fact, this is not 100% true. TIMESTAMP 'string' does not work this way.
It is mentioned in section 4.2.9 that TIMESTAMP( 'string') cannot be used,
but it does not mention TIMESTAMP 'string'.

I would really prefer if the respective information could be clear,
unequivocal, complete and included in other sections of the manual where it
is due, i.e. in sections 8.5 and 9.9 which deal with date & time types and
operators.

В списке pgsql-docs по дате отправления:

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: Confusing information in sections 8.5 and 9.9 (date and time types, functions and operators)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Section 4.1.2.7 contains false information