Remove misleading read stream asserts in a few users
Melanie Plageman <melanieplageman@gmail.com>
Remove misleading read stream asserts in a few users Several read stream users asserted that the read stream was exhausted after looping on that very condition. It was pointed out in an a review of an as-of-yet uncommitted read stream user [1] that this was confusing and could lead the reader to think there was a possibility of some kind of race condition. Remove these asserts. [1] https://postgr.es/m/F9ACE8D0-B807-4A17-B6BD-87EF0717983D%40yesql.se
Files
| Path | Change | +/− |
|---|---|---|
| contrib/amcheck/verify_heapam.c | modified | +0 −2 |
| src/backend/access/gist/gistvacuum.c | modified | +0 −2 |
| src/backend/access/nbtree/nbtree.c | modified | +0 −2 |
| src/backend/access/spgist/spgvacuum.c | modified | +0 −2 |