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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
In response to
pgsql-hackers by date
|Next:||From: Gavin Sherry||Date: 2003-05-31 03:06:15|
|Subject: Re: Testing the return value of fclose() in the backend|
|Previous:||From: Christopher Browne||Date: 2003-05-31 02:52:55|
|Subject: Compressing Fields?|