Prevent creating window functions with default arguments.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 352ab596fa5a8a4ceec6d308ebae34176cc09c13
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2013-11-06T18:32:30Z
Releases: 9.0.15
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.

Files

PathChange+/−
doc/src/sgml/syntax.sgml modified +7 −0
src/backend/catalog/pg_proc.c modified +6 −0