]> granicus.if.org Git - postgresql/commit
Remove the recently added node types ReloptElem and OptionDefElem in favor
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 4 Apr 2009 21:12:31 +0000 (21:12 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 4 Apr 2009 21:12:31 +0000 (21:12 +0000)
commit090173a3f937952b2a5c6d92a3ab139e79ca3033
treef015510d48f341507f96ae5288e069700755799d
parentc973051ae69228129aeb8eb413d451ba4b326cad
Remove the recently added node types ReloptElem and OptionDefElem in favor
of adding optional namespace and action fields to DefElem.  Having three
node types that do essentially the same thing bloats the code and leads
to errors of confusion, such as in yesterday's bug report from Khee Chin.
17 files changed:
src/backend/access/common/reloptions.c
src/backend/commands/define.c
src/backend/commands/foreigncmds.c
src/backend/commands/sequence.c
src/backend/commands/typecmds.c
src/backend/commands/view.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/nodes/makefuncs.c
src/backend/nodes/outfuncs.c
src/backend/parser/gram.y
src/backend/parser/parse_clause.c
src/include/commands/defrem.h
src/include/foreign/foreign.h
src/include/nodes/makefuncs.h
src/include/nodes/nodes.h
src/include/nodes/parsenodes.h