- Notifications
You must be signed in to change notification settings - Fork5k
Commite243de0
committed
amcheck: Fix incorrect use of VARATT_IS_COMPRESSED.
The macro is being applied to a TOAST pointer, not a varlena header.Therefore the use of VARATT_IS_COMPRESSED() is wrong. We can checkVARATT_EXTERNAL_IS_COMPRESSED(), but then we don't need the lengthcheck that follows.Report and fix by Kyotaro Horiguchi.Discussion:http://postgr.es/m/20220517.162719.1671558681467343711.horikyota.ntt@gmail.com1 parent9f0b953 commite243de0
1 file changed
+1
-9
lines changedLines changed: 1 addition & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1385 | 1385 |
| |
1386 | 1386 |
| |
1387 | 1387 |
| |
1388 |
| - | |
| 1388 | + | |
1389 | 1389 |
| |
1390 | 1390 |
| |
1391 | 1391 |
| |
1392 | 1392 |
| |
1393 |
| - | |
1394 |
| - | |
1395 |
| - | |
1396 |
| - | |
1397 |
| - | |
1398 |
| - | |
1399 |
| - | |
1400 |
| - | |
1401 | 1393 |
| |
1402 | 1394 |
| |
1403 | 1395 |
| |
|
0 commit comments
Comments
(0)