]> granicus.if.org Git - postgresql/commit
Allow transactions that don't write WAL to commit asynchronously.
authorRobert Haas <rhaas@postgresql.org>
Mon, 20 Dec 2010 17:59:33 +0000 (12:59 -0500)
committerRobert Haas <rhaas@postgresql.org>
Mon, 20 Dec 2010 17:59:33 +0000 (12:59 -0500)
commitf6a0863e3cb72763490ceca2c558d5ef2dddd5f2
treebaa5af54cf622d431ee872cacb46ecfc59b6a9d5
parentf9e9763b62df5415a60f30b441a73b381599e760
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.
src/backend/access/transam/xact.c