- Linux supports both privilege branches. Root executions require
PG_EMBEDDED_WORKERso the helper can drop tonobodyfor filesystem work. - macOS runs the unprivileged path; root executions are expected to fail fast because privilege dropping is not supported on that target.
- Windows always behaves as unprivileged, so the helper runs in-process and
ignores root-only scenarios. Windows directory creation uses the current
account's access control lists (ACLs); the Unix
0700/0755privacy modes are not applied there. - Windows on ARM is not a supported target because the upstream PostgreSQL
binary archive does not provide
aarch64-pc-windows-msvcbinaries.