saltstack/salt — pull request #12227 by tmartinfr (2014-04-23 14:11:22+00:00)
Title: Clean environment before calling psql

If environment variables are not cleaned, the psql execution can be
affected by variables like PGHOST, and induce unwanted behaviours or
failures. Especially on Linux if one launches salt-minion by invoking
directly the init script instead of using the "service" command (the
former does not clean the environment).