postgresql/src/backend
Joe Conway 1d05627fcf Fix "ignoring return value" complaints from commit 96d1f423f9
The cfbot and some BF animals are complaining about the previous
read_binary_file commit because of ignoring return value of ‘fread’.
So let's make everyone happy by testing the return value even though
not strictly needed.

Reported by Justin Pryzby, and suggested patch by Tom Lane. Backpatched
to v11 same as the previous commit.

Reported-By: Justin Pryzby
Reviewed-By: Tom Lane
Discussion: https://postgr.es/m/flat/969b8d82-5bb2-5fa8-4eb1-f0e685c5d736%40joeconway.com
Backpatch-through: 11
2020-07-04 13:46:31 -04:00
..
access nbtree: Rename _bt_search() variables. 2020-07-02 14:54:55 -07:00
bootstrap Skip WAL for new relfilenodes, under wal_level=minimal. 2020-04-04 12:25:34 -07:00
catalog Refactor ObjectAddress field assignments in more places 2020-07-01 17:03:50 +09:00
commands Fix temporary tablespaces for shared filesets some more. 2020-07-03 17:01:34 -04:00
executor Fix EXPLAIN ANALYZE for parallel HashAgg plans 2020-06-19 17:24:27 +12:00
foreign Update copyrights for 2020 2020-01-01 12:21:45 -05:00
jit pgindent run prior to branching v13. 2020-06-07 16:57:08 -04:00
lib Move src/backend/utils/hash/hashfn.c to src/common 2020-02-27 09:25:41 +05:30
libpq Fix list of SSL error codes for older OpenSSL versions. 2020-06-27 13:26:17 -04:00
main Clean up includes of s_lock.h. 2020-06-18 19:41:05 -07:00
nodes Avoid using a cursor in plpgsql's RETURN QUERY statement. 2020-06-12 12:14:32 -04:00
optimizer Clamp total-tuples estimates for foreign tables to ensure planner sanity. 2020-07-03 19:01:21 -04:00
parser Mop up some no-longer-necessary hacks around printf %.*s format. 2020-06-29 17:12:38 -04:00
partitioning Fix two typos in a comment 2020-05-22 17:39:16 -04:00
po Translation updates 2020-05-18 12:49:30 +02:00
port Spelling adjustments 2020-06-07 15:06:51 +02:00
postmaster Improve server code to read files as part of a base backup. 2020-06-17 11:39:17 -04:00
regex Dial back -Wimplicit-fallthrough to level 3 2020-05-13 15:31:14 -04:00
replication Move description of libpqwalreceiver hooks out of the replication's README 2020-07-02 13:57:03 +09:00
rewrite Add missing invocations to object access hooks 2020-05-23 14:03:04 +09:00
snowball Update snowball 2020-06-08 08:07:15 +02:00
statistics Run pgindent with new pg_bsd_indent version 2.1.1. 2020-05-16 11:54:51 -04:00
storage Fix temporary tablespaces for shared filesets some more. 2020-07-03 17:01:34 -04:00
tcop Avoid using a cursor in plpgsql's RETURN QUERY statement. 2020-06-12 12:14:32 -04:00
tsearch Mop up some no-longer-necessary hacks around printf %.*s format. 2020-06-29 17:12:38 -04:00
utils Fix "ignoring return value" complaints from commit 96d1f423f9 2020-07-04 13:46:31 -04:00
.gitignore
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Update copyrights for 2020 2020-01-01 12:21:45 -05:00
nls.mk Add missing gettext triggers 2020-04-28 13:35:40 +02:00