pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix "ignoring return value" complaints from commit 96d1f423f9 4+ messages / 1 participants [nested] [flat]
* pgsql: Fix "ignoring return value" complaints from commit 96d1f423f9 @ 2020-07-04 17:48 Joe Conway <mail@joeconway.com> 0 siblings, 0 replies; 4+ messages in thread From: Joe Conway @ 2020-07-04 17:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/1d05627fcf54b26e0cbd7527f9858f165d117813 Modified Files -------------- src/backend/utils/adt/genfile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix "ignoring return value" complaints from commit 96d1f423f9 @ 2020-07-04 17:48 Joe Conway <mail@joeconway.com> 0 siblings, 0 replies; 4+ messages in thread From: Joe Conway @ 2020-07-04 17:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c536da177cbbc9e30de17a0a445b53d79a5bbe7f Modified Files -------------- src/backend/utils/adt/genfile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix "ignoring return value" complaints from commit 96d1f423f9 @ 2020-07-04 17:48 Joe Conway <mail@joeconway.com> 0 siblings, 0 replies; 4+ messages in thread From: Joe Conway @ 2020-07-04 17:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b615b236569055f3b69df85f21b3b909735343e5 Modified Files -------------- src/backend/utils/adt/genfile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Fix "ignoring return value" complaints from commit 96d1f423f9 @ 2020-07-04 17:48 Joe Conway <mail@joeconway.com> 0 siblings, 0 replies; 4+ messages in thread From: Joe Conway @ 2020-07-04 17:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1243aa9b2f2e8a23f5fbace2b038b962bf79e9f0 Modified Files -------------- src/backend/utils/adt/genfile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2020-07-04 17:48 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-07-04 17:48 pgsql: Fix "ignoring return value" complaints from commit 96d1f423f9 Joe Conway <mail@joeconway.com> 2020-07-04 17:48 pgsql: Fix "ignoring return value" complaints from commit 96d1f423f9 Joe Conway <mail@joeconway.com> 2020-07-04 17:48 pgsql: Fix "ignoring return value" complaints from commit 96d1f423f9 Joe Conway <mail@joeconway.com> 2020-07-04 17:48 pgsql: Fix "ignoring return value" complaints from commit 96d1f423f9 Joe Conway <mail@joeconway.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox