Re: Implement <null treatment> for window functions
От
Vik Fearing
Тема
Re: Implement <null treatment> for window functions
Дата
Msg-id
239b0840-9ade-a4cf-86a0-7fb3e58a564b@postgresfriends.org
Ответ на
Re: Implement <null treatment> for window functions (Zhihong Yu)
Список
Дерево обсуждения
Re: Implement <null treatment> for window functions Krasiyan Andreev <krasiyan@gmail.com>
Re: Implement <null treatment> for window functions Vik Fearing <vik@postgresfriends.org>
Re: Implement <null treatment> for window functions Krasiyan Andreev <krasiyan@gmail.com>
Re: Implement <null treatment> for window functions Vik Fearing <vik@postgresfriends.org>
Re: Implement <null treatment> for window functions Krasiyan Andreev <krasiyan@gmail.com>
Re: Implement <null treatment> for window functions David Fetter <david@fetter.org>
Re: Implement <null treatment> for window functions Krasiyan Andreev <krasiyan@gmail.com>
Re: Implement <null treatment> for window functions Krasiyan Andreev <krasiyan@gmail.com>
Re: Implement <null treatment> for window functions Zhihong Yu <zyu@yugabyte.com>
Re: Implement <null treatment> for window functions David Fetter <david@fetter.org>
Re: Implement <null treatment> for window functions Vik Fearing <vik@postgresfriends.org>
Re: Implement <null treatment> for window functions Krasiyan Andreev <krasiyan@gmail.com>
Re: Implement <null treatment> for window functions Zhihong Yu <zyu@yugabyte.com>
Re: Implement <null treatment> for window functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Implement <null treatment> for window functions David Steele <david@pgmasters.net>
Re: Implement <null treatment> for window functions Vik Fearing <vik@postgresfriends.org>
Re: Implement <null treatment> for window functions David Steele <david@pgmasters.net>
Re: Implement <null treatment> for window functions Krasiyan Andreev <krasiyan@gmail.com>
On 1/1/21 10:21 PM, Zhihong Yu wrote: > Krasiyan: > Happy New Year. > > For WinGetFuncArgInPartition(): > > + if (target > 0) > + step = 1; > + else if (target < 0) > + step = -1; > + else > + step = 0; > > When would the last else statement execute ? Since the above code is > for WINDOW_SEEK_CURRENT, I wonder why step should be 0. Hi. "lag(expr, 0) over w" is useless but valid. -- Vik Fearing
В списке pgsql-hackers по дате отправления
От: Stephen Frost
Дата: