missing indexes in indexlist with partitioned tables - Mailing list pgsql-hackers

From Arne Roland
Subject missing indexes in indexlist with partitioned tables
Date
Msg-id c3b2408b7a39433b8230bbcd02e9f302@index.de
Whole thread Raw
Responses Re: missing indexes in indexlist with partitioned tables  (Arne Roland <A.Roland@index.de>)
List pgsql-hackers

Hi,


I did a bit of testing today and noticed that we don't set indexlist properly at the right time in some cases when using partitioned tables.


I attached a simple case where the indexlist doesn't seems to be set at the right time. get_relation_info in plancat.c seems to process it only after analyzejoins.c checked for it.


Can someone explain to me why it is deferred at all?


Regards

Arne


Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Release 14 Schedule
Next
From: Matthias van de Meent
Date:
Subject: Re: CLUSTER on partitioned index