we found a problem in GiST with massive insert/update operations

Bruce Momjian <bruce@momjian.us>

Commit: d0e1091cfd2f69c0b1056c7e14281299f70b5679
Author: Bruce Momjian <bruce@momjian.us>
Date: 2001-05-15T14:14:49Z
Releases: 7.2.1
we found a problem in GiST with massive insert/update operations
with many NULLs ( inserting of NULL into indexed field cause
ERROR: MemoryContextAlloc: invalid request size)
As a workaround 'vacuum analyze' could be used.

This patch resolves the problem, please upply to 7.1.1 sources and
current cvs tree.

Oleg Bartunov

Files

PathChange+/−
src/backend/access/gist/gist.c modified +10 −6
src/backend/access/gist/gistget.c modified +8 −5