"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