forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8201b60
committed
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 variablePG_SHMEM_ADDR to something not likely to collide with mappings createdearlier in process startup. Let's also provide a default value thatworks 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 fortesting 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.de1 parent886531f commit8201b60
1 file changed
+10
-0
lines changedLines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
146 | 156 |
| |
147 | 157 |
| |
148 | 158 |
| |
|
0 commit comments
Comments
(0)