Prevent creating window functions with default arguments.

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

Commit: 72c8a584bf7dd362227a3e0c23c39cc217f5753d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2013-11-06T18:32:36Z
Releases: 8.4.19
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+/−
src/backend/catalog/pg_proc.c modified +6 −0