Re: pg_catalog.pg_get_viewdef pretty-print removes important parentheses

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_catalog.pg_get_viewdef pretty-print removes important parentheses
Дата
Msg-id 1581700.1669909025@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_catalog.pg_get_viewdef pretty-print removes important parentheses  (Duncan Sands <duncan.sands@deepbluecap.com>)
Список pgsql-bugs
Duncan Sands <duncan.sands@deepbluecap.com> writes:
> When pg_catalog.pg_get_viewdef is called with pretty-print enabled, it removes
> parentheses around (DATE + INTERVAL) in the construct "(DATE + INTERVAL) AT TIME
> ZONE TZ", outputting SQL that fails to parse.

So it does :-(.  Will fix, thanks for the report!

            regards, tom lane



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

Предыдущее
От: Duncan Sands
Дата:
Сообщение: pg_catalog.pg_get_viewdef pretty-print removes important parentheses
Следующее
От: Jeff Davis
Дата:
Сообщение: hashing bpchar for nondeterministic collations is broken