]> granicus.if.org Git - postgresql/commit
Take buffer lock while inspecting btree index pages in contrib/pageinspect.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 30 Nov 2012 22:02:35 +0000 (17:02 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 30 Nov 2012 22:02:35 +0000 (17:02 -0500)
commit0adcaeef21d18fc04879a08aeea6cd7efce21296
tree2d61ed12267deb5cb25857ec3a7f83e67cec92cb
parent1c316e3a02e7eb8aaf8e04a441fc176aef06e317
Take buffer lock while inspecting btree index pages in contrib/pageinspect.

It's not safe to examine a shared buffer without any lock.
contrib/pageinspect/btreefuncs.c