Fix rescan of IndexScan node with the new lossy GiST distance functions.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 12e6c5a6cae1e34da2d320390993010b6e15ba9e
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2015-05-25T11:48:29Z
Releases: 9.5.0
Fix rescan of IndexScan node with the new lossy GiST distance functions.

Must reset the "reached end" flag and reorder queue at rescan.

Per report from Regina Obe, bug #13349

Files

PathChange+/−
src/backend/executor/nodeIndexscan.c modified +8 −0