git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: aa6e46d) | patch
Fix portability issue in new jsonbsubs code.
Mon, 1 Feb 2021 07:03:59 +0000 (02:03 -0500)
Mon, 1 Feb 2021 07:03:59 +0000 (02:03 -0500)
commit 7c5d57caed4d8af705d0cc3131d0d8ed72b7a41d
Fix portability issue in new jsonbsubs code.

On machines where sizeof(Datum) > sizeof(Oid) (that is, any 64-bit
platform), the previous coding would compute a misaligned
workspace->index pointer if nupper is odd. Architectures where
misaligned access is a hard no-no would then fail. This appears
to explain why thorntail is unhappy but other buildfarm members
are not.
src/backend/utils/adt/jsonbsubs.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /