Adjust spawn_process() to avoid unnecessary overhead processes: we can
Tom Lane <tgl@sss.pgh.pa.us>
Adjust spawn_process() to avoid unnecessary overhead processes: we can just exec instead of creating a subprocess. This reduces process usage from four processes per parallel test to two. I have no idea whether a comparable optimization is possible or useful in the Windows port.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/regress.sgml | modified | +4 −5 |
| src/test/regress/GNUmakefile | modified | +3 −2 |
| src/test/regress/pg_regress.c | modified | +21 −16 |