pageinspect: Fix use of wrong memory context by hash_page_items.

Robert Haas <rhaas@postgresql.org>

Commit: 51fc1b09a3baa5361a15c4d4ec4faa74a3a3cee0
Author: Robert Haas <rhaas@postgresql.org>
Date: 2018-01-26T14:59:14Z
Releases: 10.2
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