| От | Tom Lane |
|---|---|
| Тема | Re: Restriction of windows functions |
| Дата | |
| Msg-id | 29323.1466172072@sss.pgh.pa.us обсуждение |
| Ответ на | Restriction of windows functions (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>) |
| Ответы |
Re: Restriction of windows functions
|
| Список | pgsql-hackers |
Konstantin Knizhnik <k.knizhnik@postgrespro.ru> writes:
> ERROR: RANGE PRECEDING is only supported with UNBOUNDED
> Is there some principle problem in implementing such kind of window?
There was such code in the original windowagg patch and it got rejected
as being too broken. Please consult the archives.
> Certainly it assumes that window is ordered by key and the key type
> supports subtraction, so "text" can not be used here.
IIRC, the sticking point was defining a reasonably datatype-independent
(i.e. extensible) notion of distance.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера