]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix alignment problems with SharedInvalSmgrMsg.
authorRobert Haas <rhaas@postgresql.org>
Wed, 28 Sep 2022 11:51:48 +0000 (07:51 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 28 Sep 2022 11:58:09 +0000 (07:58 -0400)
commit0222be137188ac3912d244d832a328be0944f3e9
tree38d3f8d05df2aa37f55ce4d0bf0fdc6a7b442632
parentd0b1dbcb98454a353919d789c71c6d9a89e961eb
Fix alignment problems with SharedInvalSmgrMsg.

SharedInvalSmgrMsg can't require 8-byte alignment, because then
SharedInvalidationMessage will require 8-byte alignment, which will
then cause ParseCommitRecord to fail on machines that are picky
about alignment, because it assumes that everything that gets
packed into a commit record requires only 4-byte alignment.

Another problem with 05d4cbf9b6ba708858984b01ca0fc56d59d4ec7c.

Discussion: http://postgr.es/m/3825454.1664310917@sss.pgh.pa.us
src/backend/utils/cache/inval.c
src/include/storage/sinval.h