Thread: pgsql/src backend/commands/copy.c backend/exec ...

pgsql/src backend/commands/copy.c backend/exec ...

From
tgl@postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    02/05/21 18:59:01

Modified files:
    src/backend/commands: copy.c
    src/backend/executor: execMain.c
    src/backend/utils/time: tqual.c
    src/include/utils: tqual.h

Log message:
    Since COPY fires triggers, it seems like a good idea for it to use
    a frozen (copied) snapshot too.  Move execMain's snapshot copying code
    out into a subroutine in case we find other places that need it.