Re: Some clean-up work in get_cheapest_group_keys_order()
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>, Tomas Vondra <tomas.vondra@enterprisedb.com>
Date: 2022-07-13T03:06:10Z
Lists: pgsql-hackers
On Wed, 13 Jul 2022 at 13:12, Tom Lane <tgl@sss.pgh.pa.us> wrote: > > David Rowley <dgrowleyml@gmail.com> writes: > > On Wed, 13 Jul 2022 at 11:02, Tom Lane <tgl@sss.pgh.pa.us> wrote: > >> Agreed, but I think there are other instances of that idiom that > >> should be cleaned up while you're at it. > > > Agreed. I imagine we should just do the remaining cleanup in master > > only. Do you agree? > > No objection. I've now pushed the original patch to 15 and master and also pushed a cleanup commit to remove the list_truncate(list_copy instances from master only. Thanks for looking. David
Commits
-
Use list_copy_head() instead of list_truncate(list_copy(...), ...)
- c23e3e6beb27 16.0 landed
-
Tidy up code in get_cheapest_group_keys_order()
- 44b5d5625389 15.0 landed
- 4cc832f94a58 16.0 landed