Skip to content

Prevent usage of add_concurrent_index on partition table

Max Orefice requested to merge morefice/prevent-index-creation-on-partition into master

What does this MR do and why?

This MR extends add_concurrent_index to make sure it is not being called on a partition table.

Why are we doing this?

This will avoid developer's mistake when creating indexes on a partition table.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Max Orefice

Merge request reports