]> granicus.if.org Git - postgresql/commit
Refactor XLogInsert a bit. The rdata entries for backup blocks are now
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 11 Jan 2012 07:46:18 +0000 (09:46 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 11 Jan 2012 09:01:47 +0000 (11:01 +0200)
commit9c808f89c2841dd847555898a8db45fcd69e913b
tree8de60f947163c8a93f4cd4e87f63f4c699bacd14
parent26e89e7f23194e390ec4326cd0198a1992c2adf0
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.
src/backend/access/transam/xlog.c