Thread: pgsql-server/src/backend/tcop postgres.c

pgsql-server/src/backend/tcop postgres.c

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    03/08/13 13:16:24

Modified files:
    src/backend/tcop: postgres.c

Log message:
    Move MemoryContextCheck() call from bottom of PostgresMain loop to
    just before CommitTransactionCommand().  This is a more sensible place
    to put it since commit discards a lot of contexts, and we'd not find
    out about stomps affecting only transaction-local contexts.