pgsql: Ensure that top level aborts call XLogSetAsyncCommit(). - Mailing list pgsql-committers

From sriggs@postgresql.org (Simon Riggs)
Subject pgsql: Ensure that top level aborts call XLogSetAsyncCommit().
Date
Msg-id 20100513113930.926257541D2@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Ensure that top level aborts call XLogSetAsyncCommit(). Not doing
so simply leads to data waiting in wal_buffers which then causes
later commits to potentially do emergency writes and for all forms
of replication to be potentially delayed without need or benefit.
Issue pointed out exactly by Fujii Masao, following bug report
by Robert Haas on a separate though related topic.

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        xact.c (r1.290 -> r1.291)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xact.c?r1=1.290&r2=1.291)

pgsql-committers by date:

Previous
From: sriggs@postgresql.org (Simon Riggs)
Date:
Subject: pgsql: Cleanup initialization of Hot Standby.
Next
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: Fix vpath installation from distribution tarball (bug #5447)