Re: Testing the return value of fclose() in the backend
От | Bruce Momjian |
---|---|
Тема | Re: Testing the return value of fclose() in the backend |
Дата | |
Msg-id | 200305310254.h4V2sZP18444@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Testing the return value of fclose() in the backend (Gavin Sherry <swm@linuxworld.com.au>) |
Ответы |
Re: Testing the return value of fclose() in the backend
Re: Testing the return value of fclose() in the backend |
Список | pgsql-hackers |
Gavin Sherry wrote: > Hi all, > > There are various places in the backend, such as FreeFile(), where the > return value of fclose() is not tested. Whilst we would often notice any > problems with writing to data files due to testing on fsync(), it could > affect things like COPY ... TO, CreateOptsFile() and more. > > Are we catching these somewhere else I'm not seeing? We are not checking fclose, probably because fclose failures are quite rare. Should we be concerned? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania19073
В списке pgsql-hackers по дате отправления: