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

From Masahiko Sawada
Subject Re: Invalid result from hash_page_items function
Date
Msg-id CAD21AoA85FBcNwDaP=Wu1nSYgNN8KCK8mqRqmd9KNTK-dNFWng@mail.gmail.com
Whole thread Raw
In response to Re: Invalid result from hash_page_items function  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Sat, Jan 27, 2018 at 12:04 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> 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.
>

Thank you!

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Redefining inet_net_ntop
Next
From: Amit Langote
Date:
Subject: Re: Boolean partitions syntax