Content-Length: 287352 | pFad | http://github.com/postgrespro/postgres/commit/c3652cd84ac8aa60dd09a9743d4db6f20e985a2f

2D Remove redundant breaks in HeapTupleSatisfiesVisibility · postgrespro/postgres@c3652cd · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/c3652cd84ac8aa60dd09a9743d4db6f20e985a2f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy