]> 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:36 +0000 (13:32 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 6 Nov 2013 18:32:36 +0000 (13:32 -0500)
commit72c8a584bf7dd362227a3e0c23c39cc217f5753d
treeadc6750716e372d59704ca662cc3fec9d9d5bc09
parent2268d1c14c08e3c967c9374784638139458fe49a
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.
src/backend/catalog/pg_proc.c