Re: [HACKERS] gzclose don't set properly the errno in pg_restore

2016-03-07 Thread Kyotaro HORIGUCHI
Hello, At Sun, 6 Mar 2016 22:09:20 -0300, Fabrízio de Royes Mello wrote in > Hi all, > > I'm facing with a strange error message during a failed pg_restore: > > pg_restore: processing data for table "historicopesquisaitem" > pg_restore: [directory archiver] could not close data file: Success

[HACKERS] gzclose don't set properly the errno in pg_restore

2016-03-06 Thread Fabrízio de Royes Mello
Hi all, I'm facing with a strange error message during a failed pg_restore: pg_restore: processing data for table "historicopesquisaitem" pg_restore: [directory archiver] could not close data file: Success I got this error trying to restore from a directory dump file. Looking at the pg_restore