Re: pgsql: Check for GiST index tuples that don't fit on a page.

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Check for GiST index tuples that don't fit on a page.
Date: 2014-10-04 01:43:51
Message-ID: 542F50D7.7060006@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 10/3/14 7:54 AM, Heikki Linnakangas wrote:
> Check for GiST index tuples that don't fit on a page.
>
> The page splitting code would go into infinite recursion if you try to
> insert an index tuple that doesn't fit even on an empty page.
>
> Per analysis and suggested fix by Andrew Gierth. Fixes bug #11555, reported
> by Bryan Seitz (analysis happened over IRC). Backpatch to all supported
> versions.

We don't have portable support for %zu formats until 9.4. The
backpatches to 9.3 and earlier need to use %lu.

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-10-04 04:59:59 Re: pgsql: Check for GiST index tuples that don't fit on a page.
Previous Message Stephen Frost 2014-10-03 22:34:24 Re: pgsql: Fix CreatePolicy, pg_dump -v; psql and doc updates