Hello, Tom.

You wrote:

TL> "Pavel Golub" <pa...@microolap.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.

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

First of all, for uniformity I guess. :) .backup files are closed
properly.

And secondly, I'm using these sources in my project and I
need input file to be closed. Of course, I can find the place
where to insert close() by myself, but I beleive that this must be done in the
official release.

TL>                         regards, tom lane



-- 
With best wishes,
 Pavel                          mailto:pa...@gf.microolap.com


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to