postgresql/src/test/regress
Heikki Linnakangas e42375fc81 Retain comments on indexes and constraints at ALTER TABLE ... TYPE ...
When a column's datatype is changed, ATExecAlterColumnType() rebuilds all
the affected indexes and constraints, and the comments from the old
indexes/constraints were not carried over.

To fix, create a synthetic COMMENT ON command in the work queue, to re-add
any comments on constraints. For indexes, there's a comment field in
IndexStmt that is used.

This fixes bug #13126, reported by Kirill Simonov. Original patch by
Michael Paquier, reviewed by Petr Jelinek and me. This bug is present in
all versions, but only backpatch to 9.5. Given how minor the issue is, it
doesn't seem worth the work and risk to backpatch further than that.
2015-07-14 11:40:22 +03:00
..
data Improve key representation for GIN jsonb_ops, and fix existence-search bug. 2014-05-09 08:41:26 -04:00
expected Retain comments on indexes and constraints at ALTER TABLE ... TYPE ... 2015-07-14 11:40:22 +03:00
input Fix incorrect checking of deferred exclusion constraint after a HOT update. 2015-05-11 12:25:43 -04:00
output Fix incorrect checking of deferred exclusion constraint after a HOT update. 2015-05-11 12:25:43 -04:00
sql Retain comments on indexes and constraints at ALTER TABLE ... TYPE ... 2015-07-14 11:40:22 +03:00
.gitignore Update .gitignore for config.cache. 2014-12-18 19:56:42 +09:00
GNUmakefile Improve speed of make check-world 2015-04-23 08:59:52 -04:00
Makefile
parallel_schedule Support GROUPING SETS, CUBE and ROLLUP. 2015-05-16 03:46:31 +02:00
pg_regress_main.c Improve speed of make check-world 2015-04-23 08:59:52 -04:00
pg_regress.c Fix incorrect path in pg_regress log messages. 2015-07-08 01:54:17 +09:00
pg_regress.h Improve speed of make check-world 2015-04-23 08:59:52 -04:00
README Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:04 -05:00
regress.c pgindent run for 9.5 2015-05-23 21:35:49 -04:00
regressplans.sh Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
resultmap
serial_schedule Support GROUPING SETS, CUBE and ROLLUP. 2015-05-16 03:46:31 +02:00
standby_schedule

Documentation concerning how to run these regression tests and interpret
the results can be found in the PostgreSQL manual, in the chapter
"Regression Tests".