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

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, David Rowley <dgrowleyml(at)gmail(dot)com>
Subject: Re: [PATCH] Const'ify the arguments of ilist.c/ilist.h functions
Date: 2022-11-23 13:57:36
Message-ID: CAJ7c6TO8VcipfRwEA1B3o1bzr2qsvm-vaTM4ghyD7HJJFR2nKw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

--
Best regards,
Aleksander Alekseev

Attachment Content-Type Size
v2-0001-Constify-the-arguments-of-ilist.c-h-functions.patch application/octet-stream 5.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2022-11-23 14:18:30 Re: drop postmaster symlink
Previous Message Bharath Rupireddy 2022-11-23 13:42:07 Decouple last important WAL record LSN from WAL insert locks