pgsql: pageinspect: Fix use of wrong memory context by hash_page_items.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pageinspect: Fix use of wrong memory context by hash_page_items.
Date: 2018-01-26 15:04:10
Message-ID: E1ef5Y2-0008Dr-7i@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/51fc1b09a3baa5361a15c4d4ec4faa74a3a3cee0

Modified Files
--------------
contrib/pageinspect/hashfuncs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-01-26 17:25:53 pgsql: Remove the obsolete WITH clause of CREATE FUNCTION.
Previous Message Peter Eisentraut 2018-01-26 14:52:38 pgsql: Use abstracted SSL API in server connection log messages