aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/typecmds.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-09-11 18:28:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-09-11 18:28:34 +0000
commit493f72606b463a75ae4e2ee4e64d829e7f56066d (patch)
tree8645b7d58f6e333f4d10948051be2bd7e38002be /src/backend/commands/typecmds.c
parent9835944e54ace63b040d2d2e78eaa0b78aca1bed (diff)
downloadpostgresql-493f72606b463a75ae4e2ee4e64d829e7f56066d.tar.gz
postgresql-493f72606b463a75ae4e2ee4e64d829e7f56066d.zip
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.
Diffstat (limited to 'src/backend/commands/typecmds.c')
0 files changed, 0 insertions, 0 deletions