Take buffer lock while inspecting btree index pages in contrib/pageinspect.
It's not safe to examine a shared buffer without any lock.
Branch
------
REL9_1_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/2b96c32d5361f443b00d17bfbe1fc84dcdd6fbc0
Modified Files
--------------
contrib/pageinspect/btreefuncs.c | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)