LinkedIn and 3rd parties use essential and non-essential cookies to provide, secure, analyze and improve our Services, and (except on the iOS app) to show you relevant ads (including professional and job ads) on and off LinkedIn. Learn more in our Cookie Policy.
Select Accept to consent or Reject to decline non-essential cookies for this use. You can update your choices at any time in your settings.
Thanks, this article was very interesting! I noticed that Postgres changes the index names on partitions, but never understood why. I didn't face your issue because of a whole different setup we had.
In our setup, I used pg_cron to create new partitions monthly. The script also creates properly named indexes on each newly created partition. The index could be attached to the index on the partitioned table, and this way PostgreSQL won't bother creating an index.
Tech Lead & Staff Software Engineer @ Trade Republic, ex-Zalando
7moThanks, this article was very interesting! I noticed that Postgres changes the index names on partitions, but never understood why. I didn't face your issue because of a whole different setup we had. In our setup, I used pg_cron to create new partitions monthly. The script also creates properly named indexes on each newly created partition. The index could be attached to the index on the partitioned table, and this way PostgreSQL won't bother creating an index.