pgsql: Allow transactions that don't write WAL to commit asynchronously

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow transactions that don't write WAL to commit asynchronously
Date: 2010-12-20 18:05:30
Message-ID: E1PUk70-0004QY-Bq@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=f6a0863e3cb72763490ceca2c558d5ef2dddd5f2

Modified Files
--------------
src/backend/access/transam/xact.c | 33 +++++++++++++++++++++++----------
1 files changed, 23 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2010-12-21 11:40:01 pgsql: Work around unfortunate getppid() behavior on BSD-ish systems.
Previous Message Alvaro Herrera 2010-12-20 15:06:31 Re: pgsql: Allow bidirectional copy messages in streaming replication mode.