]> granicus.if.org Git - postgresql/commit
Prevent passing gmake's environment variables down through pg_regress.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Dec 2012 22:24:01 +0000 (17:24 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Dec 2012 22:24:01 +0000 (17:24 -0500)
commit647b1bcdfd26f786248366e4fb25c0fd62006329
tree38cbb9a92fab5c36b804cc50339a28902f1afb28
parent04f91ae5d0caa5faae7100eac3b0ade6f84e1e9e
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