Re: Sample of user-define window function and other things
От
Gregory Stark
Тема
Re: Sample of user-define window function and other things
Дата
Msg-id
87tz84lish.fsf@oxford.xeocode.com
Ответ на
Re: Sample of user-define window function and other things (Peter Eisentraut)
Список
Дерево обсуждения
Sample of user-define window function and other things "Hitoshi Harada" <umi.tanuki@gmail.com>
Re: Sample of user-define window function and other things Tom Lane <tgl@sss.pgh.pa.us>
Re: Sample of user-define window function and other things "Hitoshi Harada" <umi.tanuki@gmail.com>
Re: Sample of user-define window function and other things Tom Lane <tgl@sss.pgh.pa.us>
Re: Sample of user-define window function and other things Peter Eisentraut <peter_e@gmx.net>
Re: Sample of user-define window function and other things Gregory Stark <stark@enterprisedb.com>
Re: Sample of user-define window function and other things Tom Lane <tgl@sss.pgh.pa.us>
Peter Eisentraut 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!
В списке pgsql-hackers по дате отправления
От: Magnus Hagander
Дата: