During repeated rescan of GiST index it's possible that scan key

Teodor Sigaev <teodor@sigaev.ru>

Commit: beeb3562dd5194bf47f8f06565f4b54b181eb64b
Author: Teodor Sigaev <teodor@sigaev.ru>
Date: 2008-10-17T17:02:21Z
Releases: 8.4.0
During repeated rescan of GiST index it's possible that scan key
is NULL but SK_SEARCHNULL is not set. Add checking IS NULL of keys
to set during key initialization. If key is NULL and SK_SEARCHNULL is not
set then nothnig can be satisfied.
With assert-enabled compilation that causes coredump.

Bug was introduced in 8.3 by support of IS NULL index scan.

Files