OSDN Git Service

Restructure command-completion-report code so that there is just one
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Feb 2002 22:47:12 +0000 (22:47 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Feb 2002 22:47:12 +0000 (22:47 +0000)
commit56ee2ecba96a742bb6e18dfe8ee48054e90ebaa9
tree905c72dc3db475d47d04472a1de7ab715b5725c7
parentf71dc6d0e28a855f2d782ec48f950ffeaca1307d
Restructure command-completion-report code so that there is just one
report for each received SQL command, regardless of rewriting activity.
Also ensure that this report comes from the 'original' command, not the
last command generated by rewrite; this fixes 7.2 breakage for INSERT
commands that have actions added by rules.  Fernando Nasser and Tom Lane.
17 files changed:
src/backend/commands/command.c
src/backend/commands/explain.c
src/backend/executor/functions.c
src/backend/executor/spi.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/nodes/readfuncs.c
src/backend/parser/analyze.c
src/backend/tcop/dest.c
src/backend/tcop/postgres.c
src/backend/tcop/pquery.c
src/backend/tcop/utility.c
src/include/commands/command.h
src/include/nodes/parsenodes.h
src/include/tcop/dest.h
src/include/tcop/pquery.h
src/include/tcop/utility.h