Re: BUG #5451: pg_restore doesn't close input .tar archive

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pavel Golub" <pavel(at)microolap(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5451: pg_restore doesn't close input .tar archive
Date: 2010-05-06 15:05:26
Message-ID: 16982.1273158326@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Pavel Golub" <pavel(at)microolap(dot)com> writes:
> pg_restore doesn't close input .tar archive file after restore process.
> However, file is closed after pg_restore termination, I suppose it's not
> correct behaviour.

I'm not sure what distinction you're trying to draw. Do you want us to
add a close() just before exit()? If so, what for?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Chris Copeland 2010-05-06 16:24:43 BUG #5452: Server core dumps coming out of recovery mode
Previous Message Erwin Brandstetter 2010-05-06 14:26:06 "SET search_path" clause ignored during function creation