v2-0001-Remove-breaks-in-HeapTupleSatisfiesVisibility.patch
application/octet-stream
Filename: v2-0001-Remove-breaks-in-HeapTupleSatisfiesVisibility.patch
Type: application/octet-stream
Part: 0
Message:
Re: heapgettup refactoring
Patch
Format: format-patch
Series: patch v2-0001
Subject: Remove breaks in HeapTupleSatisfiesVisibility
| File | + | − |
|---|---|---|
| src/backend/access/heap/heapam_visibility.c | 0 | 7 |
From b36ef3d8f812e8500580a695faa0a9229f28176b Mon Sep 17 00:00:00 2001
From: Melanie Plageman <melanieplageman@gmail.com>
Date: Wed, 26 Oct 2022 20:00:34 -0400
Subject: [PATCH v2 1/3] Remove breaks in HeapTupleSatisfiesVisibility
breaks in HeapTupleSatisfiesVisibility were superfluous
---
src/backend/access/heap/heapam_visibility.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/backend/access/heap/heapam_visibility.c b/src/backend/access/heap/heapam_visibility.c
index 6e33d1c881..dd5d5da190 100644
--- a/src/backend/access/heap/heapam_visibility.c
+++ b/src/backend/access/heap/heapam_visibility.c
@@ -1769,25 +1769,18 @@ HeapTupleSatisfiesVisibility(HeapTuple htup, Snapshot snapshot, Buffer buffer)
{
case SNAPSHOT_MVCC:
return HeapTupleSatisfiesMVCC(htup, snapshot, buffer);
- break;
case SNAPSHOT_SELF:
return HeapTupleSatisfiesSelf(htup, snapshot, buffer);
- break;
case SNAPSHOT_ANY:
return HeapTupleSatisfiesAny(htup, snapshot, buffer);
- break;
case SNAPSHOT_TOAST:
return HeapTupleSatisfiesToast(htup, snapshot, buffer);
- break;
case SNAPSHOT_DIRTY:
return HeapTupleSatisfiesDirty(htup, snapshot, buffer);
- break;
case SNAPSHOT_HISTORIC_MVCC:
return HeapTupleSatisfiesHistoricMVCC(htup, snapshot, buffer);
- break;
case SNAPSHOT_NON_VACUUMABLE:
return HeapTupleSatisfiesNonVacuumable(htup, snapshot, buffer);
- break;
}
return false; /* keep compiler quiet */
--
2.38.1