pgsql/src backend/access/common/printtup.c bac ...

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src backend/access/common/printtup.c bac ...
Date: 2002-02-27 19:36:20
Message-ID: 20020227193620.0C341476F03@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql
Changes by: tgl(at)postgresql(dot)org 02/02/27 14:36:15

Modified files:
src/backend/access/common: printtup.c tupdesc.c
src/backend/commands: command.c
src/backend/executor: execMain.c functions.c spi.c
src/backend/tcop: dest.c postgres.c pquery.c
src/backend/utils/mmgr: portalmem.c
src/include/access: printtup.h
src/include/executor: execdefs.h execdesc.h executor.h
src/include/tcop: dest.h

Log message:
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.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2002-02-27 19:52:51 pgsql/src/backend/tcop pquery.c
Previous Message Bruce Momjian - CVS 2002-02-27 04:52:20 pgsql/doc FAQ src/FAQ/FAQ.html