Re: list_free() in index_get_partition()

2020-11-06 Thread Alvaro Herrera
On 2020-Nov-06, Michael Paquier wrote: > On Thu, Nov 05, 2020 at 02:36:06PM -0600, Justin Pryzby wrote: > > Seems to be missing. > > Any code paths calling index_get_partition() is in tablecmds.c, > involving commands that are not that hot with such lookups, but that > could be an issue if this g

Re: list_free() in index_get_partition()

2020-11-05 Thread Michael Paquier
On Thu, Nov 05, 2020 at 02:36:06PM -0600, Justin Pryzby wrote: > Seems to be missing. Any code paths calling index_get_partition() is in tablecmds.c, involving commands that are not that hot with such lookups, but that could be an issue if this gets called by some out-of-core code if memory contex

list_free() in index_get_partition()

2020-11-05 Thread Justin Pryzby
704e5be9233e319 Author: Justin Pryzby Date: Thu Nov 5 12:06:49 2020 -0600 list_free() in index_get_partition() which was added at: a6da0047158b8a227f883aeed19eb7fcfbef11fb diff --git a/src/backend/catalog/partition.c b/src/backend/catalog/partition.c index 239ac017fa..4dfac39adf 1