Re: Invalid result from hash_page_items function - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Invalid result from hash_page_items function
Date
Msg-id CA+TgmobvdEyPhLz6oo-GiZ6tO=NJPyBAkMBHwQ4ozXx7j_UJyQ@mail.gmail.com
Whole thread Raw
In response to Invalid result from hash_page_items function  (Masahiko Sawada <sawada.mshk@gmail.com>)
Responses Re: Invalid result from hash_page_items function
List pgsql-hackers
On Thu, Jan 25, 2018 at 4:50 PM, Masahiko Sawada <sawada.mshk@gmail.com> wrote:
> This appears at PostgreSQL 10 and current HEAD. The cause of this
> seems that hash_page_items allocates the memory space for the page
> before switching memory context. AFAICS there is no similar problem in
> pageinspect contrib module. Attached patch fixes it.

Committed and back-patched.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Andreas Karlsson
Date:
Subject: Re: \describe*
Next
From: Tom Lane
Date:
Subject: Re: Updating timezone data to 2018c