The following bug has been logged online:
Bug reference: 5451
Logged by: Pavel Golub
Email address: pavel(at)microolap(dot)com
PostgreSQL version: 8.4.x
Operating system: Windows
Description: pg_restore doesn't close input .tar archive
Details:
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.