pgsql: Skip truncating ON COMMIT DELETE ROWS temp tables, if the transa - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Skip truncating ON COMMIT DELETE ROWS temp tables, if the transa
Date
Msg-id E1U06oL-0006tQ-Mw@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Skip truncating ON COMMIT DELETE ROWS temp tables, if the transaction hasn't
touched any temporary tables.

We could try harder, and keep track of whether we've inserted to any temp
tables, rather than accessed them, and which temp tables have been inserted
to. But this is dead simple, and already covers many interesting scenarios.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c9d7dbacd387ab3814bc6b38010a9e72a02ea4f5

Modified Files
--------------
src/backend/commands/tablecmds.c |    8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)


pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: pgsql: Fast promote mode skips checkpoint at end of recovery.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Allow pgbench to use a scale larger than 21474.