Testing the return value of fclose() in the backend - Mailing list pgsql-hackers

From Gavin Sherry
Subject Testing the return value of fclose() in the backend
Date
Msg-id Pine.LNX.4.21.0304161445220.9610-100000@linuxworld.com.au
Whole thread Raw
Responses Re: Testing the return value of fclose() in the backend  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
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?

Gavin



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: GLOBAL vs LOCAL temp tables
Next
From: Grant Finnemore
Date:
Subject: Re: First draft of new FE/BE protocol spec posted for comments