diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-01-11 09:46:18 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-01-11 11:01:47 +0200 |
commit | 9c808f89c2841dd847555898a8db45fcd69e913b (patch) | |
tree | 8de60f947163c8a93f4cd4e87f63f4c699bacd14 /src/backend/access/transam/xlogfuncs.c | |
parent | 26e89e7f23194e390ec4326cd0198a1992c2adf0 (diff) | |
download | postgresql-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