pgsql: Make EXEC_BACKEND more convenient on Linux and FreeBSD.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make EXEC_BACKEND more convenient on Linux and FreeBSD.
Date: 2022-01-10 11:27:53
Message-ID: E1n6sq9-0000z0-D1@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Suggested-by: Andres Freund <andres(at)anarazel(dot)de>
Tested-by: Bossart, Nathan <bossartn(at)amazon(dot)com>
Discussion: https://postgr.es/m/20210806032944.m4tz7j2w47mant26%40alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f3e78069db7f7a753ebfe1010b810e47e0d2aa9a

Modified Files
--------------
configure | 2 +-
configure.ac | 1 +
src/bin/pg_ctl/pg_ctl.c | 4 ++++
src/common/exec.c | 33 +++++++++++++++++++++++++++++++++
src/include/pg_config.h.in | 3 +++
src/include/port.h | 5 +++++
src/test/regress/pg_regress.c | 4 ++++
src/tools/msvc/Solution.pm | 1 +
8 files changed, 52 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2022-01-10 15:13:34 pgsql: Avoid warning about uninitialized value in MSVC python3 tests
Previous Message Peter Eisentraut 2022-01-10 08:41:35 pgsql: Rename functions to avoid future conflicts