forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8cea358
committed
Use the correct PG_DETOAST_DATUM macro in BRIN
Commit6bcda4a replaced PG_DETOAST_DATUM with PG_DETOAST_DATUM_PACKEDin two BRIN output functions, for minmax-multi and bloom opclasses. Butthis is incorrect - the code is accessing the data through structs thatalready include a 4B header, so the detoast needs to match that. But thePACKED macro may keep the 1B header, which means the struct fields willpoint to incorrect data.Backpatch-through: 16Discussion:https://postgr.es/m/1df00a66-db5a-4e66-809a-99b386a06d86%40enterprisedb.com1 parentccd8f0f commit8cea358
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
769 | 769 |
| |
770 | 770 |
| |
771 | 771 |
| |
772 |
| - | |
| 772 | + | |
773 | 773 |
| |
774 | 774 |
| |
775 | 775 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3015 | 3015 |
| |
3016 | 3016 |
| |
3017 | 3017 |
| |
3018 |
| - | |
| 3018 | + | |
3019 | 3019 |
| |
3020 | 3020 |
| |
3021 | 3021 |
| |
|
0 commit comments
Comments
(0)