Ensure that generated index names are <= 63 bytes
rkrage opened this issue · comments
The max length for Postgres identifiers is 63 bytes. Recently, Rails introduced a mechanism for hashing index metadata to ensure generated index names are under this limit: rails/rails#47753
It would be really helpful to backport this functionality, particularly to avoid extra validation when creating an index on a sub-partitioned table.