Prevent passing gmake's environment variables down through pg_regress.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Dec 2012 22:24:11 +0000 (17:24 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Dec 2012 22:24:11 +0000 (17:24 -0500)
commitb4cad625113e42bd8c9c3bad8390ebbdb60b3aad
tree6aee68d14f8c6c06a59f7e10438affbf0a8ed67c
parent3f27f90cfe2d45169c6d726792a37bab78fe4fef
Prevent passing gmake's environment variables down through pg_regress.

When we do "make install" to create a temp installation, we don't want
that instance of make to try to communicate with any instance of make
that might be calling us.  This is known to cause problems if the
upper make has a -jN flag, and in principle could cause problems even
without that.  Unset the relevant environment variables to prevent such
issues.

Andres Freund
src/test/regress/pg_regress.c