As I discovered in researching this question, converting a column from varchar(100)[]
to text[]
requires a table rewrite and rebuilding indexes.
Is there a way to manage this conversion without the locking and rewriting through some catalog trickery like that used in this question? Particularly interested in version 10 if possible