Fix Win32 problems with signals and sockets, by making the forkexec code
Tom Lane <tgl@sss.pgh.pa.us>
Fix Win32 problems with signals and sockets, by making the forkexec code even uglier than it was already :-(. Also, on Windows only, use temporary shared memory segments instead of ordinary files to pass over critical variable values from postmaster to child processes. Magnus Hagander
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/main/main.c | modified | +11 −4 |
| src/backend/port/win32/signal.c | modified | +38 −8 |
| src/backend/postmaster/pgstat.c | modified | +23 −12 |
| src/backend/postmaster/postmaster.c | modified | +538 −213 |
| src/include/port/win32.h | modified | +5 −2 |