From 35087c94f72bb6d687ecb2e54857b953e90047c7 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Wed, 30 Jan 2013 13:23:12 -0800 Subject: [PATCH] Cleanup .pgpass files --- postgresql/postgresql-lib.pl | 1 + 1 file changed, 1 insertion(+) 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;