Re: Adding doubly linked list type which stores the number of items in the list
Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
From: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
To: Aleksander Alekseev <aleksander@timescale.com>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>,
David Rowley <dgrowleyml@gmail.com>
Date: 2022-11-03T07:41:06Z
Lists: pgsql-hackers
On Wed, Nov 2, 2022 at 2:23 PM Aleksander Alekseev <aleksander@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
Commits
-
Add doubly linked count list implementation
- 7c335b7a2027 16.0 landed