aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ascii.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-10-13 15:55:40 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-10-13 15:55:40 +0000
commit537e92e41f8bd1b3ed56ea1096ceee225fb36923 (patch)
tree4c4b1f9820f62d8fe272045bf76329e646b87221 /src/backend/utils/adt/ascii.c
parentbf673f2525fe4fa086f3ae5f276d52e626fc9d77 (diff)
downloadpostgresql-537e92e41f8bd1b3ed56ea1096ceee225fb36923.tar.gz
postgresql-537e92e41f8bd1b3ed56ea1096ceee225fb36923.zip
Fix ALTER COLUMN TYPE to preserve the tablespace and reloptions of indexes
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.
Diffstat (limited to 'src/backend/utils/adt/ascii.c')
0 files changed, 0 insertions, 0 deletions