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 <peter_e@gmx.net>)
Ответы Re: Sample of user-define window function and other things  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Peter Eisentraut <peter_e@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'sPostgreSQL training!
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Proposal: new border setting in psql
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: 2 small patches that fix 8.3.5 compile issues on Vista+MingW+Msys