- Notifications
You must be signed in to change notification settings - Fork5
Commit24688f4
committed
Fix minor thinko in convertToJsonb().
The amount of space to reserve for the value's varlena header isVARHDRSZ, not sizeof(VARHDRSZ). The latter coding accidentallyfailed to fail because of the way the VARHDRSZ macro is currentlydefined; but if we ever change it to return size_t (as one mightreasonably expect it to do), convertToJsonb() would have failed.Spotted by Mark Dilger.1 parente39250c commit24688f4
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1377 | 1377 |
| |
1378 | 1378 |
| |
1379 | 1379 |
| |
1380 |
| - | |
| 1380 | + | |
1381 | 1381 |
| |
1382 | 1382 |
| |
1383 | 1383 |
| |
|
0 commit comments
Comments
(0)