Hi all.

I was reviewing nearby thread about parallel index creation for GIN,
and spotted this test [0] :

create table gin_t (a int[]);
insert into gin_t select * from rand_array(30000000, 0, 100, 0, 50);
create index on gin_t using gin(a);

v34 fails on this. The reason is we should never check the high key on
the rightmost page in the entry GIN tree explicitly, as this is not
actually stored.

PFA little v35 fix for this. I will update this thread with a full v35
patch set shortly.

[0] https://www.postgresql.org/message-id/87a5gyqnl5.fsf%40163.com


-- 
Best regards,
Kirill Reshke

Attachment: v35-0001-Fix-for-gin_index_check.patch
Description: Binary data

Reply via email to