Re: Invalid result from hash_page_items function

2018-01-28 Thread Masahiko Sawada
On Sat, Jan 27, 2018 at 12:04 AM, Robert Haas wrote: > On Thu, Jan 25, 2018 at 4:50 PM, Masahiko Sawada > 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 t

Re: Invalid result from hash_page_items function

2018-01-26 Thread Robert Haas
On Thu, Jan 25, 2018 at 4:50 PM, Masahiko Sawada 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. At