]> 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:30 +0000 (13:32 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 6 Nov 2013 18:32:30 +0000 (13:32 -0500)
commit352ab596fa5a8a4ceec6d308ebae34176cc09c13
tree1d0eb4b2a89ed3d3922f15ac6e7ec77deab24718
parent3dd13108ac5f16723d87288c8633f8d347823304
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