forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7c5d57c
committed
Fix portability issue in new jsonbsubs code.
On machines where sizeof(Datum) > sizeof(Oid) (that is, any 64-bitplatform), the previous coding would compute a misalignedworkspace->index pointer if nupper is odd. Architectures wheremisaligned access is a hard no-no would then fail. This appearsto explain why thorntail is unhappy but other buildfarm membersare not.1 parentaa6e46d commit7c5d57c
1 file changed
+8
-3
lines changedLines changed: 8 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
356 | 356 |
| |
357 | 357 |
| |
358 | 358 |
| |
359 |
| - | |
| 359 | + | |
360 | 360 |
| |
361 | 361 |
| |
362 | 362 |
| |
| |||
368 | 368 |
| |
369 | 369 |
| |
370 | 370 |
| |
371 |
| - | |
372 |
| - | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
373 | 376 |
| |
| 377 | + | |
| 378 | + | |
374 | 379 |
| |
375 | 380 |
| |
376 | 381 |
| |
|
0 commit comments
Comments
(0)