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

2010-05-10 Thread Pavel Golub
Hello, Tom. You wrote: TL> Pavel Golub writes: >> 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

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

2010-05-07 Thread Tom Lane
Pavel Golub writes: > 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

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

2010-05-06 Thread Pavel Golub
Hello, Tom. You wrote: TL> "Pavel Golub" 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

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

2010-05-06 Thread Tom Lane
"Pavel Golub" 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()

[BUGS] BUG #5451: pg_restore doesn't close input .tar archive

2010-05-06 Thread Pavel Golub
The following bug has been logged online: Bug reference: 5451 Logged by: Pavel Golub Email address: pa...@microolap.com PostgreSQL version: 8.4.x Operating system: Windows Description:pg_restore doesn't close input .tar archive Details: pg_restore doesn't close inpu