Re: Implement for window functions

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: Implement for window functions
Дата
Msg-id 02B860B7-E72B-4EF0-8C70-2FC36DD94D80@yesql.se
обсуждение исходный текст
Ответ на Implement for window functions  (Vik Fearing <vik@postgresfriends.org>)
Ответы Re: Implement for window functions  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
> On 30 Jun 2020, at 15:54, Vik Fearing <vik@postgresfriends.org> 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
Дата:
Сообщение: Re: Identifying user-created objects
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Make MemoryContextMemAllocated() more precise