pgsql: Refactor XLogInsert a bit. The rdata entries for backup blocks a - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Refactor XLogInsert a bit. The rdata entries for backup blocks a
Date
Msg-id E1RkuTp-0000KV-0C@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Refactor XLogInsert a bit. The rdata entries for backup blocks are now
constructed before acquiring WALInsertLock, which slightly reduces the time
the lock is held. Although I could not measure any benefit in benchmarks,
the code is more readable this way.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9c808f89c2841dd847555898a8db45fcd69e913b

Modified Files
--------------
src/backend/access/transam/xlog.c |  202 +++++++++++++++++--------------------
1 files changed, 91 insertions(+), 111 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Fix typos
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Remove useless 'needlock' argument from GetXLogInsertRecPtr. It