• Tom Lane's avatar
    Fix ALTER COLUMN TYPE to preserve the tablespace and reloptions of indexes · 537e92e4
    Tom Lane authored
    it affects.  The original coding neglected tablespace entirely (causing
    the indexes to move to the database's default tablespace) and for an index
    belonging to a UNIQUE or PRIMARY KEY constraint, it would actually try to
    assign the parent table's reloptions to the index :-(.  Per bug #3672 and
    subsequent investigation.
    
    8.0 and 8.1 did not have reloptions, but the tablespace bug is present.
    537e92e4
lsyscache.c 60.8 KB