Re: Fix casting away const in _bt_reorder_array_cmp

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Fix casting away const in _bt_reorder_array_cmp
Дата
Msg-id 8341ef2b-858b-4374-9e7e-cf7d803bd464@eisentraut.org
обсуждение исходный текст
Ответ на Re: Fix casting away const in _bt_reorder_array_cmp  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Список pgsql-hackers
On 31.12.25 10:01, Bertrand Drouvot wrote:
> On Wed, Dec 31, 2025 at 03:51:55PM +0800, Chao Li wrote:
>> There have been several recent efforts to eliminate cast-away-const usages.
>> While reviewing another patch, I happened to notice one such occurrence, so
>> I’m posting a trivial patch to fix it.
> 
> Thanks for the patch!
> 
> This one is one that I choose to discard in [1] because this is just a thin
> wrapper. Not saying that keeping cast away const was a good thing but the idea
> was also to reduce the number of changes in the patch.

I have committed this one together with Bertrand's other changes.



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