Thread: pgsql: Fix thinko in pg_read_file: testing for negative result is not

pgsql: Fix thinko in pg_read_file: testing for negative result is not

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Fix thinko in pg_read_file: testing for negative result is not the way
to determine whether fread() failed.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        genfile.c (r1.7 -> r1.8)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/genfile.c.diff?r1=1.7&r2=1.8)