|
|
|
@ -258,7 +258,7 @@ gistScanPage(IndexScanDesc scan, GISTSearchItem *pageItem, double *myDistances, |
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Check if we need to follow the rightlink. We need to follow it if the |
|
|
|
* Check if we need to follow the rightlink. We need to follow it if the |
|
|
|
* page was concurrently split since we visited the parent (in which case |
|
|
|
* page was concurrently split since we visited the parent (in which case |
|
|
|
* parentlsn < nsn), or if the the system crashed after a page split but |
|
|
|
* parentlsn < nsn), or if the system crashed after a page split but |
|
|
|
* before the downlink was inserted into the parent. |
|
|
|
* before the downlink was inserted into the parent. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
if (!XLogRecPtrIsInvalid(pageItem->data.parentlsn) && |
|
|
|
if (!XLogRecPtrIsInvalid(pageItem->data.parentlsn) && |
|
|
|
|