pgsql: Prevent creating window functions with default arguments.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prevent creating window functions with default arguments.
Date: 2013-11-06 18:33:34
Message-ID: E1Ve7v4-0001aa-8l@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/352ab596fa5a8a4ceec6d308ebae34176cc09c13

Modified Files
--------------
doc/src/sgml/syntax.sgml | 7 +++++++
src/backend/catalog/pg_proc.c | 6 ++++++
2 files changed, 13 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-11-06 20:50:27 pgsql: Be more robust when strerror() doesn't give a useful result.
Previous Message Tom Lane 2013-11-06 18:33:33 pgsql: Support default arguments and named-argument notation for window