| От | Tom Lane |
|---|---|
| Тема | Re: add more frame types in window functions (ROWS) |
| Дата | |
| Msg-id | 18306.1258231430@sss.pgh.pa.us обсуждение |
| Ответ на | Re: add more frame types in window functions (ROWS) (Andrew Gierth <andrew@tao11.riddles.org.uk>) |
| Ответы |
Re: add more frame types in window functions (ROWS)
|
| Список | pgsql-hackers |
Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> (A question here: the spec allows (by my reading) the use of
> parameters in the window frame clause, i.e. BETWEEN $1 PRECEDING AND
> $2 FOLLOWING. Wouldn't it therefore make more sense to treat the
> values as Exprs, albeit very limited ones, and eval them at startup
> rather than assuming we know the node type and digging down into it
> all over the place?)
Seems like you might as well allow any expression not containing
local Vars. Compare the handling of LIMIT.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера