Skip site navigation (1) Skip section navigation (2)

pgsql: Refactor XLogInsert a bit. The rdata entries for backup blocksa

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Refactor XLogInsert a bit. The rdata entries for backup blocksa
Date: 2012-01-11 09:28:25
Message-ID: E1RkuTp-0000KV-0C@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Fujii MasaoDate: 2012-01-11 14:05:46
Subject: Re: [COMMITTERS] pgsql: Send new protocol keepalive messages to standby servers.
Previous:From: Peter EisentrautDate: 2012-01-10 20:49:36
Subject: pgsql: Fix typos

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group