Re: [HACKERS] GiST splitting on empty pages

2014-10-03 Thread Heikki Linnakangas
On 10/03/2014 05:03 AM, Andrew Gierth wrote: This is from Bug #11555, which is still in moderation as I type this (analysis was done via IRC). The GiST insertion code appears to have no length checks at all on the inserted entry. index_form_tuple checks for length <= 8191, with the default block

[HACKERS] GiST splitting on empty pages

2014-10-02 Thread Andrew Gierth
This is from Bug #11555, which is still in moderation as I type this (analysis was done via IRC). The GiST insertion code appears to have no length checks at all on the inserted entry. index_form_tuple checks for length <= 8191, with the default blocksize, but obviously a tuple less than 8191 byte