-
- Downloads
Renumber SnapshotNow and the other special snapshot codes so that
((Snapshot) NULL) can no longer be confused with a valid snapshot, as per my recent suggestion. Define a macro InvalidSnapshot for 0. Use InvalidSnapshot instead of SnapshotAny as the do-nothing special case for heap_update and heap_delete crosschecks; this seems a little cleaner even though the behavior is really the same.
Showing
- src/backend/access/heap/heapam.c 11 additions, 9 deletionssrc/backend/access/heap/heapam.c
- src/backend/commands/async.c 2 additions, 2 deletionssrc/backend/commands/async.c
- src/backend/executor/execMain.c 2 additions, 2 deletionssrc/backend/executor/execMain.c
- src/backend/executor/execUtils.c 2 additions, 2 deletionssrc/backend/executor/execUtils.c
- src/include/utils/tqual.h 21 additions, 5 deletionssrc/include/utils/tqual.h
Loading
Please register or sign in to comment