Commits on November 16, 2010
Commits1 commit
0Author
1Committer
0Reviewer
0Reported by
0Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| CommitterBackported | The GiST scan algorithm uses LSNs to detect concurrent pages splits, but temporary indexes are not WAL-logged. We used a constant LSN for temporary indexes, on the assumption that we don't need to worry about concurrent page splits in temporary indexes because they're only visible to the current session. But that assumption is wrong, it's possible to insert rows and split pages in the same session, while a scan is in progress. For example, by opening a cursor and fetching some rows, and INSERTing new rows before fetching some more. | master9.1alpha3REL_19_STABLE9.1alpha3REL_18_STABLE9.1alpha3REL_17_STABLE9.1alpha3REL_16_STABLE9.1alpha3REL_15_STABLE9.1alpha3REL_14_STABLE9.1alpha3REL_13_STABLE9.1alpha3+14 more | Nov 16, 2010 |