pageinspect: Fix use of wrong memory context by hash_page_items.

Robert Haas <rhaas@postgresql.org>

Commit: b0313f9cc8f54d6a5c12f8987c9b6afa0a5bbced
Author: Robert Haas <rhaas@postgresql.org>
Date: 2018-01-26T14:56:33Z
Releases: 11.0
pageinspect: Fix use of wrong memory context by hash_page_items.

This can cause it to produce incorrect output.

Report and patch by Masahiko Sawada.

Discussion: http://postgr.es/m/CAD21AoBc5Asx7pXdUWu6NqU_g=Ysn95EGL9SMeYhLLduYoO_OA@mail.gmail.com

Files

PathChange+/−
contrib/pageinspect/hashfuncs.c modified +2 −2

Discussion