summaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_agg.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2021-08-13 10:38:22 +1200
committerThomas Munro <tmunro@postgresql.org>2021-08-13 11:10:28 +1200
commitd49e228a664dd868b6a034e730e99b4f510869a6 (patch)
tree3c0c1aaf53146447554d7d89dc3440d7b1b392a8 /src/backend/parser/parse_agg.c
parent843d2879aaefd870c978107e4c69b6681db49ca3 (diff)
Make EXEC_BACKEND more convenient on macOS.
It's hard to disable ASLR on current macOS releases, for testing with -DEXEC_BACKEND. You could already set the environment variable PG_SHMEM_ADDR to something not likely to collide with mappings created earlier in process startup. Let's also provide a default value that works on current releases and architectures, for developer convenience. As noted in the pre-existing comment, this is a horrible hack, but -DEXEC_BACKEND is only used by Unix-based PostgreSQL developers for testing some otherwise Windows-only code paths, so it seems excusable. Back-patch to all supported branches. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/20210806032944.m4tz7j2w47mant26%40alap3.anarazel.de
Diffstat (limited to 'src/backend/parser/parse_agg.c')
0 files changed, 0 insertions, 0 deletions