]> granicus.if.org Git - postgresql/commit
Prevent creating window functions with default arguments.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 6 Nov 2013 18:32:26 +0000 (13:32 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 6 Nov 2013 18:32:26 +0000 (13:32 -0500)
commitaad87e3f25ad751a3d021c139fd3adbbe1d19fce
tree91731d8feeed6fcb3dcca3257d93763b09c1af31
parentdb157fb141df983f6d66209182ef4ac7997588d4
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.
doc/src/sgml/syntax.sgml
src/backend/catalog/pg_proc.c