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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] Const'ify the arguments of ilist.c/ilist.h functions
Дата
Msg-id cc1d70ab-3304-1d2c-9976-0b8cd9ce5fee@enterprisedb.com
обсуждение исходный текст
Ответ на Re: [PATCH] Const'ify the arguments of ilist.c/ilist.h functions  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: [PATCH] Const'ify the arguments of ilist.c/ilist.h functions  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 07.01.23 08:21, Peter Eisentraut wrote:
> On 23.11.22 14:57, Aleksander Alekseev wrote:
>> Hi Andres,
>>
>> Thanks for the review!
>>
>>> I don't think it is correct for any of these to add const. The only 
>>> reason it
>>> works is because of casting etc.
>>
>> Fair enough. PFA the corrected patch v2.
> 
> 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




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

Предыдущее
От: "Drouvot, Bertrand"
Дата:
Сообщение: Re: Strengthen pg_waldump's --save-fullpage tests
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Using WaitEventSet in the postmaster