diff --git a/postgresql/postgresql-lib.pl b/postgresql/postgresql-lib.pl index a7f14554e..6d0fcb39e 100755 --- a/postgresql/postgresql-lib.pl +++ b/postgresql/postgresql-lib.pl @@ -1209,6 +1209,7 @@ if (&supports_pgpass()) { local $temphome = &transname(); &make_dir($temphome, 0755); $pgpass = "$temphome/.pgpass"; + push(@main::temporary_files, $pgpass); $ENV{'HOME'} = $temphome; } $ENV{'PGPASSFILE'} = $pgpass;