aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_func.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-02-01 02:03:59 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2021-02-01 02:03:59 -0500
commit7c5d57caed4d8af705d0cc3131d0d8ed72b7a41d (patch)
tree6f5500e48085d6bfb1fb3a2995b0bb6cecedf4cd /src/backend/parser/parse_func.c
parentaa6e46daf5304e8d9e66fefc1a5bd77622ec6402 (diff)
downloadpostgresql-7c5d57caed4d8af705d0cc3131d0d8ed72b7a41d.tar.gz
postgresql-7c5d57caed4d8af705d0cc3131d0d8ed72b7a41d.zip
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.
Diffstat (limited to 'src/backend/parser/parse_func.c')
0 files changed, 0 insertions, 0 deletions