forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3bd261c
committed
Improve shm_mq portability around MAXIMUM_ALIGNOF and sizeof(Size).
Revise the original decision to expose a uint64-based interface anduse Size everywhere possible. Avoid assuming that MAXIMUM_ALIGNOF is8, or making any assumption about the relationship between that valueand sizeof(Size). If MAXIMUM_ALIGNOF is bigger, we'll now insertpadding after the length word; if it's smaller, we are now preparedto read and write the length word in chunks.Per discussion with Tom Lane.1 parent19f2d6c commit3bd261c