Skip to content

Commit c3652cd

Browse files
committed
Remove redundant breaks in HeapTupleSatisfiesVisibility
Author: Melanie Plageman <melanieplageman@gmail.com> Discussion: https://postgr.es/m/CAAKRu_ZJg_N7zHtWP+JoSY_hrce4+GKioL137Y2c2En-kuXQ7g@mail.gmail.com
1 parent 2a71de8 commit c3652cd

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/backend/access/heap/heapam_visibility.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1769,25 +1769,18 @@ HeapTupleSatisfiesVisibility(HeapTuple htup, Snapshot snapshot, Buffer buffer)
17691769
{
17701770
case SNAPSHOT_MVCC:
17711771
return HeapTupleSatisfiesMVCC(htup, snapshot, buffer);
1772-
break;
17731772
case SNAPSHOT_SELF:
17741773
return HeapTupleSatisfiesSelf(htup, snapshot, buffer);
1775-
break;
17761774
case SNAPSHOT_ANY:
17771775
return HeapTupleSatisfiesAny(htup, snapshot, buffer);
1778-
break;
17791776
case SNAPSHOT_TOAST:
17801777
return HeapTupleSatisfiesToast(htup, snapshot, buffer);
1781-
break;
17821778
case SNAPSHOT_DIRTY:
17831779
return HeapTupleSatisfiesDirty(htup, snapshot, buffer);
1784-
break;
17851780
case SNAPSHOT_HISTORIC_MVCC:
17861781
return HeapTupleSatisfiesHistoricMVCC(htup, snapshot, buffer);
1787-
break;
17881782
case SNAPSHOT_NON_VACUUMABLE:
17891783
return HeapTupleSatisfiesNonVacuumable(htup, snapshot, buffer);
1790-
break;
17911784
}
17921785

17931786
return false; /* keep compiler quiet */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy