pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: pageinspect: Fix use of wrong memory context by hash_page_items.
Date: Fri, 26 Jan 2018 15:04:10 +0000
Message-ID: <E1ef5Y2-0008Dq-7f@gemulon.postgresql.org> (raw)

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b0313f9cc8f54d6a5c12f8987c9b6afa0a5bbced

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



view thread (2+ messages)  latest in thread

Message-ID: <E1ef5Y2-0008Dq-7f@gemulon.postgresql.org>
Permalink:  ../E1ef5Y2-0008Dq-7f@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ef5Y2-0008Dq-7f@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: pageinspect: Fix use of wrong memory context by hash_page_items.
  In-Reply-To: <E1ef5Y2-0008Dq-7f@gemulon.postgresql.org>
  References: <E1ef5Y2-0008Dq-7f@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox