Thread: pgsql-server/src/backend/access/transam xlog.c

pgsql-server/src/backend/access/transam xlog.c

From
tgl@postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.org    02/10/07 13:04:30

Modified files:
    src/backend/access/transam: xlog.c

Log message:
    Change order of operations during XLogFlush so that we try to include
    in our write/flush operation any WAL entries that got queued while we
    were waiting to get the WALWriteLock.  This improves throughput when
    transactions are small enough that several can be committed per WAL
    write (ie, per disk revolution).