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
indexlist_to_late.sql
Description: indexlist_to_late.sql