pgsql: Ignore PQcancel errors properly

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Ignore PQcancel errors properly
Date: 2017-05-09 18:00:41
Message-ID: E1d89RB-0002UQ-6x@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Ignore PQcancel errors properly

Add a (void) cast to all PQcancel() calls that purposefully don't check
the return value, to keep compilers and static checkers happy.

Per Coverity.

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2176839a4832ad5d19176da2173fec30f78d7bc4

Modified Files
--------------
src/bin/pg_dump/pg_backup_db.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-05-09 18:52:16 pgsql: Improve memory use in logical replication apply
Previous Message Peter Eisentraut 2017-05-09 14:59:46 pgsql: pg_dump: Add --no-subscriptions option