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
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
Hi,
While researching hash index, I found that hash_page_items could
return an invalid result as follows.
postgres(1:1056)=# create table hash_test (c int);
CREATE TABLE
postgres(1:1056)=# insert into hash_test select generate_series(1,50) % 5;
INSERT 0 50
postgres(1:1056)=# create index hash_idx