pgsql: Prevent creating window functions with default arguments.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Prevent creating window functions with default arguments.
Дата
Msg-id E1Ve7v4-0001aW-6X@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Prevent creating window functions with default arguments.

Insertion of default arguments doesn't work for window functions, which is
likely to cause a crash at runtime if the implementation code doesn't check
the number of actual arguments carefully.  It doesn't seem worth working
harder than this for pre-9.2 branches.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/aad87e3f25ad751a3d021c139fd3adbbe1d19fce

Modified Files
--------------
doc/src/sgml/syntax.sgml      |    7 +++++++
src/backend/catalog/pg_proc.c |    6 ++++++
2 files changed, 13 insertions(+)


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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: pgsql: Keep heap open until new heap generated in RMV.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Prevent creating window functions with default arguments.