On Thu, Jan 25, 2018 at 4:50 PM, Masahiko Sawada <sawada.m...@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