]> granicus.if.org Git - postgresql/commit
Code review for LIKE ... INCLUDING INDEXES patch. Fix failure to propagate
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Dec 2007 23:44:44 +0000 (23:44 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Dec 2007 23:44:44 +0000 (23:44 +0000)
commit265f904d8f25db2f0272921e25a1397f548d235d
treebc1bd0992294e3bc13bf7c4f8409301143a1e40e
parentba9da684b5dba9dc5daf05abd442f9b4a5a23979
Code review for LIKE ... INCLUDING INDEXES patch.  Fix failure to propagate
constraint status of copied indexes (bug #3774), as well as various other
small bugs such as failure to pstrdup when needed.  Allow INCLUDING INDEXES
indexes to be merged with identical declared indexes (perhaps not real useful,
but the code is there and having it not apply to LIKE indexes seems pretty
unorthogonal).  Avoid useless work in generateClonedIndexStmt().  Undo some
poorly chosen API changes, and put a couple of routines in modules that seem
to be better places for them.
17 files changed:
src/backend/access/common/reloptions.c
src/backend/bootstrap/bootparse.y
src/backend/catalog/pg_depend.c
src/backend/commands/indexcmds.c
src/backend/commands/tablecmds.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/nodes/outfuncs.c
src/backend/parser/parse_utilcmd.c
src/backend/tcop/utility.c
src/backend/utils/adt/ruleutils.c
src/include/access/reloptions.h
src/include/catalog/dependency.h
src/include/commands/defrem.h
src/include/nodes/parsenodes.h
src/include/utils/builtins.h
src/test/regress/expected/inherit.out