• Tom Lane's avatar
    Fix portability issue in new jsonbsubs code. · 7c5d57ca
    Tom Lane authored
    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.
    7c5d57ca
jsonbsubs.c 12 KB