- Notifications
You must be signed in to change notification settings - Fork28
Commit2bf372a
committed
heap_prepare_freeze_tuple: Simplify coding
Commitd2599ec introduced some contorted, confused code around:readers would think that it's possible for HeapTupleHeaderGetXmin returna non-frozen value for some frozen tuples, which would be disastrous.There's no actual bug, but it seems better to make it clearer.Per gripe from Tom Lane and Andres Freund.Discussion:https://postgr.es/m/30116.1555430496@sss.pgh.pa.us1 parent6dd86c2 commit2bf372a
1 file changed
+13
-6
lines changedLines changed: 13 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6106 | 6106 |
| |
6107 | 6107 |
| |
6108 | 6108 |
| |
6109 |
| - | |
| 6109 | + | |
| 6110 | + | |
| 6111 | + | |
| 6112 | + | |
| 6113 | + | |
| 6114 | + | |
| 6115 | + | |
| 6116 | + | |
6110 | 6117 |
| |
6111 |
| - | |
6112 |
| - | |
6113 |
| - | |
| 6118 | + | |
| 6119 | + | |
| 6120 | + | |
6114 | 6121 |
| |
6115 | 6122 |
| |
6116 | 6123 |
| |
6117 | 6124 |
| |
6118 | 6125 |
| |
6119 | 6126 |
| |
6120 | 6127 |
| |
6121 |
| - | |
| 6128 | + | |
| 6129 | + | |
6122 | 6130 |
| |
6123 | 6131 |
| |
6124 | 6132 |
| |
| |||
6128 | 6136 |
| |
6129 | 6137 |
| |
6130 | 6138 |
| |
6131 |
| - | |
6132 | 6139 |
| |
6133 | 6140 |
| |
6134 | 6141 |
| |
|
0 commit comments
Comments
(0)