documenting forbidden expressions in column defaults

Поиск
Список
Период
Сортировка
От Amit Langote
Тема documenting forbidden expressions in column defaults
Дата
Msg-id 2059e8f2-e6e6-7a9f-0de8-11eed291e641@lab.ntt.co.jp
обсуждение исходный текст
Список pgsql-hackers
Hi.

The description of DEFAULT in the documentation currently says:

"The value is any variable-free expression (subqueries and
cross-references to other columns in the current table are not allowed)."

But the value cannot be an aggregate expression, a window function, or a
set-returning function either, so maybe we should list these items too?

Attached is a patch that fixes the text in two places where the above
description appears.

Thanks,
Amit

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Partitioning with temp tables is broken
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: pg_verify_checksums review