diff options
author | Thomas Munro <tmunro@postgresql.org> | 2021-03-10 22:22:12 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2021-03-10 23:20:41 +1300 |
commit | c427de427ac411039d5efd5d0dcc8a4e0c6da68d (patch) | |
tree | d6b9911e20ad3efe572d5e18e5136b20acafb28a /src/backend/utils/adt/ri_triggers.c | |
parent | 68b34b2338f013cb025dea360b37a3b4fc930179 (diff) |
Fix another portability bug in recent pgbench commit.
Commit 547f04e7 produced errors on AIX/xlc while building plpython. The
new code appears to be incompatible with the hack installed by commit
a11cf433. Without access to an AIX system to check, my guess is that
_POSIX_C_SOURCE may be required for <time.h> to declare the things the
header needs to see, but plpython.h undefines it.
For now, to unbreak build farm animal hoverfly, just move the new
pg_time_usec_t support into pgbench.c. Perhaps later we could figure
out what to rearrange to put it back into a header for wider use.
Discussion: https://postgr.es/m/CA%2BhUKG%2BP%2BjcD%3Dx9%2BagyTdWtjpOT64MYiGic%2Bcbu_TD8CV%3D6A3w%40mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/ri_triggers.c')
0 files changed, 0 insertions, 0 deletions