aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonb_util.c
diff options
context:
space:
mode:
authorJoe Conway <mail@joeconway.com>2020-07-04 13:47:21 -0400
committerJoe Conway <mail@joeconway.com>2020-07-04 13:47:21 -0400
commitb615b236569055f3b69df85f21b3b909735343e5 (patch)
tree489e54b7e52281293fcb18ba53ffbca2753b50fa /src/backend/utils/adt/jsonb_util.c
parent015e899a7a671a42f11468afb12e1415415a1da8 (diff)
downloadpostgresql-b615b236569055f3b69df85f21b3b909735343e5.tar.gz
postgresql-b615b236569055f3b69df85f21b3b909735343e5.zip
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
Diffstat (limited to 'src/backend/utils/adt/jsonb_util.c')
0 files changed, 0 insertions, 0 deletions