Pass CAC as an argument to the backend process
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Pass CAC as an argument to the backend process We used to smuggle it to the child process in the Port struct, but it seems better to pass it down as a separate argument. This paves the way for the next commit, which moves the initialization of the Port struct to the backend process, after forking. Reviewed-by: Tristan Partin, Andres Freund Discussion: https://www.postgresql.org/message-id/7a59b073-5b5b-151e-7ed3-8b01ff7ce9ef@iki.fi
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/postmaster.c | modified | +32 −12 |
| src/include/libpq/libpq-be.h | modified | +0 −12 |
Discussion
- Refactoring backend fork+exec code 63 messages · 2023-06-18 → 2024-07-03