Thread: pgsql: Take buffer lock while inspecting btree index pages in contrib/p

pgsql: Take buffer lock while inspecting btree index pages in contrib/p

From
Tom Lane
Date:
Take buffer lock while inspecting btree index pages in contrib/pageinspect.

It's not safe to examine a shared buffer without any lock.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d54a94b806825a119be86d5f73232b06dd9e9a16

Modified Files
--------------
contrib/pageinspect/btreefuncs.c |   20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)