Re: Implement <null treatment> for window functions

Поиск
Список
Период
Сортировка
Искать
От
Daniel Gustafsson
Тема
Re: Implement <null treatment> for window functions
Дата
Msg-id
02B860B7-E72B-4EF0-8C70-2FC36DD94D80@yesql.se
Ответ на
Список
Дерево обсуждения
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 30 Jun 2020, at 15:54, Vik Fearing  wrote:

> This feature adds RESPECT NULLS and IGNORE NULLS syntax to several
> window functions, according to the SQL Standard.

This fails compilation due to a compiler warning in WinGetFuncArgInPartition
and WinGetFuncArgInFrame (same warning in both):

nodeWindowAgg.c: In function ‘WinGetFuncArgInPartition’:
nodeWindowAgg.c:3274:10: error: ‘step’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   relpos += step;
          ^
This was with GCC in the Travis build, the Windows build passed and so does
clang locally for me.

cheers ./daniel

В списке pgsql-hackers по дате отправления
От: Daniel Gustafsson
Дата:
От: Daniel Gustafsson
Дата:
FAQ