On Wed, Nov 2, 2022 at 2:23 PM Aleksander Alekseev <aleksan...@timescale.com> wrote: > > Hi David, > > > Pushed. Thank you both for reviewing this. > > Thanks for applying the patch. > > >> Should we consider const'ifying the arguments of the dlist_*/dclist_* > >> functions that don't change the arguments? > >> [...] > > You're right, both of them must be discussed separately. > > I would like to piggyback on this thread to propose the const'ifying > patch, if that's OK. Here it is.
Thanks for the patch. IMO, this can be discussed in a separate thread to get more thoughts from the hackers. BTW, there's proclist_* data structure which might need the similar const'ifying. -- Bharath Rupireddy PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com