Peter Eisentraut <pete...@gmx.net> writes: > Hitoshi Harada wrote: >> - CREATE FUNCTION command accepts WINDOW keyword for non-c language >> like plpgsql. Don't we need to throw error? > > The validator procedures of those languages should be made to reject that case > if they can't support it.
Even if they can support it shouldn't they reject functions that aren't actually window functions? What happens if you mark a perfectly normal function as a window function, does it behave sanely? -- Gregory Stark EnterpriseDB http://www.enterprisedb.com Get trained by Bruce Momjian - ask me about EnterpriseDB's PostgreSQL training! -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers