Fixes #5032: add PGPASSWORD variable in environment
Merge pull request #371 from ncharles/ust_4994/int/bug_5032_correct_use_of_PGPASSWORD

Ust 4994/int/bug 5032 correct use of pgpassword