Thread: pgsql/src backend/commands/command.c backend/c ...

pgsql/src backend/commands/command.c backend/c ...

From
tgl@postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    02/02/26 17:47:13

Modified files:
    src/backend/commands: command.c explain.c
    src/backend/executor: functions.c spi.c
    src/backend/nodes: copyfuncs.c equalfuncs.c readfuncs.c
    src/backend/parser: analyze.c
    src/backend/tcop: dest.c postgres.c pquery.c utility.c
    src/include/commands: command.h
    src/include/nodes: parsenodes.h
    src/include/tcop: dest.h pquery.h utility.h

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