diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2023-03-22 17:14:21 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2023-03-22 17:14:21 -0400 |
commit | c75a623304bc361b4456f916d455ea175ffd8055 (patch) | |
tree | 935c617b8d39c5cde3994cd4812036d3d01f1a53 /src/backend/executor/nodeModifyTable.c | |
parent | b48af6d174bb39bd688d52795aef2b9c10dd6e8c (diff) | |
download | postgresql-c75a623304bc361b4456f916d455ea175ffd8055.tar.gz postgresql-c75a623304bc361b4456f916d455ea175ffd8055.zip |
Fix new test case to work on (some?) big-endian architectures.
Use of pack("L") gets around the basic endian problem, but it doesn't
deal with the fact that the order of the bitfields within the struct
may differ. This patch fixes it to work with gcc on NetBSD/macppc,
but I wonder whether that will be enough --- in principle, there
could be four different combinations of bitpatterns needed here.
Discussion: https://postgr.es/m/1650745.1679513221@sss.pgh.pa.us
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions