Allow transactions that don't write WAL to commit asynchronously.

Robert Haas <rhaas@postgresql.org>

Commit: f6a0863e3cb72763490ceca2c558d5ef2dddd5f2
Author: Robert Haas <rhaas@postgresql.org>
Date: 2010-12-20T17:59:33Z
Releases: 9.1.0
Allow transactions that don't write WAL to commit asynchronously.

This case can arise if a transaction has written data, but only to
temporary tables.  Loss of the commit record in case of a crash won't
matter, because the temporary tables will be lost anyway.

Reviewed by Heikki Linnakangas and Simon Riggs.

Files

PathChange+/−
src/backend/access/transam/xact.c modified +23 −10