aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/complex.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-10-13 15:55:49 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-10-13 15:55:49 +0000
commit5b8328b936f11f8b0cd63428f75754c575ef4dc3 (patch)
treef2dc8aa876a0b63db6e9f5374e6d686bbd19c6cb /src/tutorial/complex.c
parentef3ff3eee48d88ce35b87409c0d96a12f75f044b (diff)
downloadpostgresql-5b8328b936f11f8b0cd63428f75754c575ef4dc3.tar.gz
postgresql-5b8328b936f11f8b0cd63428f75754c575ef4dc3.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/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions