| From: | Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> |
|---|---|
| To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Invalid result from hash_page_items function |
| Date: | 2018-01-29 02:25:50 |
| Message-ID: | CAD21AoA85FBcNwDaP=Wu1nSYgNN8KCK8mqRqmd9KNTK-dNFWng@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sat, Jan 27, 2018 at 12:04 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Thu, Jan 25, 2018 at 4:50 PM, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Langote | 2018-01-29 02:45:26 | Re: Boolean partitions syntax |
| Previous Message | Craig Ringer | 2018-01-29 01:43:54 | Re: Redefining inet_net_ntop |