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

From [email protected] (Simon Riggs)
Subject pgsql: Ensure that top level aborts call XLogSetAsyncCommit().
Date
Msg-id [email protected]
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: [email protected] (Simon Riggs)
Date:
Subject: pgsql: Cleanup initialization of Hot Standby.
Next
From: [email protected] (Peter Eisentraut)
Date:
Subject: pgsql: Fix vpath installation from distribution tarball (bug #5447)