aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogfuncs.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2012-01-11 09:46:18 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2012-01-11 11:01:47 +0200
commit9c808f89c2841dd847555898a8db45fcd69e913b (patch)
tree8de60f947163c8a93f4cd4e87f63f4c699bacd14 /src/backend/access/transam/xlogfuncs.c
parent26e89e7f23194e390ec4326cd0198a1992c2adf0 (diff)
downloadpostgresql-9c808f89c2841dd847555898a8db45fcd69e913b.tar.gz
postgresql-9c808f89c2841dd847555898a8db45fcd69e913b.zip
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.
Diffstat (limited to 'src/backend/access/transam/xlogfuncs.c')
0 files changed, 0 insertions, 0 deletions