Re: [PATCH] Const'ify the arguments of ilist.c/ilist.h functions

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [PATCH] Const'ify the arguments of ilist.c/ilist.h functions
Дата
Msg-id 20230118183033.44t35mbgzfmyqytt@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: [PATCH] Const'ify the arguments of ilist.c/ilist.h functions  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi,

On 2023-01-18 10:22:14 -0800, Andres Freund wrote:
> On 2023-01-12 08:34:25 +0100, Peter Eisentraut wrote:
> > On 07.01.23 08:21, Peter Eisentraut wrote:
> > > This patch version looks correct to me.  It is almost the same as the
> > > one that Andres had posted in his thread, except that yours also
> > > modifies slist_delete() and dlist_member_check().  Both of these changes
> > > also look correct to me.
> > 
> > committed
> 
> Unfortunately this causes a build failure with ILIST_DEBUG
> enabled. dlist_member_check() uses dlist_foreach(), which isn't set up to work
> with const :(.  I'll push a quick workaround.

Pushed.

Greetings,

Andres Freund



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: [PATCH] Add <> support to sepgsql_restorecon
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Decoupling antiwraparound autovacuum from special rules around auto cancellation