Clean up BeginCommand and related routines. BeginCommand and EndCommand

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6779c55c228ba5904dc767a7882b47a2b4c74ff7
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2002-02-27T19:36:13Z
Releases: 7.3.1
Clean up BeginCommand and related routines.  BeginCommand and EndCommand
are now both invoked once per received SQL command (raw parsetree) from
pg_exec_query_string.  BeginCommand is actually just an empty routine
at the moment --- all its former operations have been pushed into tuple
receiver setup routines in printtup.c.  This makes for a clean distinction
between BeginCommand/EndCommand (once per command) and the tuple receiver
setup/teardown routines (once per ExecutorRun call), whereas the old code
was quite ad hoc.  Along the way, clean up the calling conventions for
ExecutorRun a little bit.

Files