]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Make EXEC_BACKEND more convenient on Linux and FreeBSD.
authorMichael Paquier <michael@paquier.xyz>
Wed, 8 Feb 2023 04:09:49 +0000 (13:09 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 8 Feb 2023 04:09:49 +0000 (13:09 +0900)
commit1e4fda6da918f734dd6dab67b3ddcaba4c2fecb2
tree676e861d3a3e41ead044d1401345a00242dc8777
parent20aba55fae83cd0b6f7511365d172da8cd7e0135
Make EXEC_BACKEND more convenient on Linux and FreeBSD.

Try to disable ASLR when building in EXEC_BACKEND mode, to avoid random
memory mapping failures while testing.  For developer use only, no
effect on regular builds.

This has been originally applied as of f3e7806 for v15~, but
recently-added buildfarm member gokiburi tests this configuration on
older branches as well, causing it to fail randomly as ASLR would be
enabled.

Suggested-by: Andres Freund <andres@anarazel.de>
Tested-by: Bossart, Nathan <bossartn@amazon.com>
Discussion: https://postgr.es/m/20210806032944.m4tz7j2w47mant26%40alap3.anarazel.de
Backpatch-through: 12
configure
configure.in
src/bin/pg_ctl/pg_ctl.c
src/common/exec.c
src/include/pg_config.h.in
src/include/port.h
src/test/regress/pg_regress.c
src/tools/msvc/Solution.pm