Fix thinko in pg_read_file: testing for negative result is not the way

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e4cd186608d15563e568f03bbe2919384fdc95c0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-10-15T19:47:09Z
Releases: 8.1.0
Fix thinko in pg_read_file: testing for negative result is not the way
to determine whether fread() failed.

Files

PathChange+/−
src/backend/utils/adt/genfile.c modified +2 −2