]> 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:29 +0000 (17:02 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 30 Nov 2012 22:03:31 +0000 (17:03 -0500)
commitd54a94b806825a119be86d5f73232b06dd9e9a16
tree96ce647864a22dd34458821167a676ff78663859
parentb86327c1c53aab732e21666e8c8a97b11cded804
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