From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Make EXEC_BACKEND more convenient on Linux and FreeBSD. |
Date: | 2023-02-08 04:11:13 |
Message-ID: | E1pPbnc-0001CB-KQ@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.
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(at)anarazel(dot)de>
Tested-by: Bossart, Nathan <bossartn(at)amazon(dot)com>
Discussion: https://postgr.es/m/20210806032944.m4tz7j2w47mant26%40alap3.anarazel.de
Backpatch-through: 12
Branch
------
REL_12_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/6b4dba711a4ec4be87850108d4f9db12eecd399e
Modified Files
--------------
configure | 2 +-
configure.in | 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 ++++
7 files changed, 51 insertions(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2023-02-08 07:57:22 | pgsql: Remove SQL regression tests for GUCs related to NO_SHOW_ALL |
Previous Message | David Rowley | 2023-02-08 03:04:33 | pgsql: Remove stray duplicated comment in heapam.h |