]> granicus.if.org Git - postgresql/commit
Skip extraneous locking in XLogCheckBuffer().
authorSimon Riggs <simon@2ndQuadrant.com>
Mon, 8 Apr 2013 08:11:49 +0000 (09:11 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Mon, 8 Apr 2013 08:11:49 +0000 (09:11 +0100)
commit5787c6730e7a848ef95d5c4194e27614ea8e6e41
tree8efece4469f68a9e5d01725484e4eb1f24609ae0
parent47c4333189c9eb5ac1f95adc90213e61996f53c4
Skip extraneous locking in XLogCheckBuffer().
Heikki reported comment was wrong, so fixed
code to match the comment: we only need to
take additional locking precautions when we
have a shared lock on the buffer.
src/backend/access/transam/xlog.c