Adjust spawn_process() to avoid unnecessary overhead processes: we can

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 60cfe25e68db3eca3e71723803fb661db51afdb5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-07-19T17:02:59Z
Releases: 8.2.0
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

PathChange+/−
doc/src/sgml/regress.sgml modified +4 −5
src/test/regress/GNUmakefile modified +3 −2
src/test/regress/pg_regress.c modified +21 −16