forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit50f8611
committed
amcheck: Support for different header sizes of short varlena datum
In the heap, tuples may contain short varlena datum with both 1B header and 4Bheaders. But the corresponding index tuple should always have such varlena'swith 1B headers. So, for fingerprinting, we need to convert.Backpatch to all supported versions.Discussion:https://postgr.es/m/flat/7bdbe559-d61a-4ae4-a6e1-48abdf3024cc%40postgrespro.ruAuthor: Michael ZhilinReviewed-by: Alexander Lakhin, Andrey Borodin, Jian He, Alexander KorotkovBackpatch-through: 121 parent82c2192 commit50f8611
File tree
3 files changed
+55
-5
lines changed- contrib/amcheck
- expected
- sql
3 files changed
+55
-5
lines changedLines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
190 | 190 |
| |
191 | 191 |
| |
192 | 192 |
| |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
193 | 205 |
| |
194 | 206 |
| |
195 | 207 |
| |
| |||
199 | 211 |
| |
200 | 212 |
| |
201 | 213 |
| |
| 214 | + |
Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
133 | 143 |
| |
134 | 144 |
| |
135 | 145 |
| |
| |||
139 | 149 |
| |
140 | 150 |
| |
141 | 151 |
| |
| 152 | + |
Lines changed: 31 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2058 | 2058 |
| |
2059 | 2059 |
| |
2060 | 2060 |
| |
2061 |
| - | |
| 2061 | + | |
2062 | 2062 |
| |
2063 | 2063 |
| |
2064 | 2064 |
| |
| |||
2074 | 2074 |
| |
2075 | 2075 |
| |
2076 | 2076 |
| |
2077 |
| - | |
| 2077 | + | |
2078 | 2078 |
| |
2079 | 2079 |
| |
2080 | 2080 |
| |
| |||
2097 | 2097 |
| |
2098 | 2098 |
| |
2099 | 2099 |
| |
2100 |
| - | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
| 2115 | + | |
| 2116 | + | |
| 2117 | + | |
| 2118 | + | |
2101 | 2119 |
| |
2102 | 2120 |
| |
2103 | 2121 |
| |
2104 |
| - | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
2105 | 2126 |
| |
2106 | 2127 |
| |
2107 | 2128 |
| |
| |||
2111 | 2132 |
| |
2112 | 2133 |
| |
2113 | 2134 |
| |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
2114 | 2140 |
| |
2115 | 2141 |
| |
2116 | 2142 |
| |
| |||
2119 | 2145 |
| |
2120 | 2146 |
| |
2121 | 2147 |
| |
2122 |
| - | |
| 2148 | + | |
2123 | 2149 |
| |
2124 | 2150 |
| |
2125 | 2151 |
| |
|
0 commit comments
Comments
(0)