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-0002UK-6d@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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e0bf16060be695ced920727fa29f0d9ede61bd3f

Modified Files
--------------
src/bin/pg_dump/pg_backup_db.c | 8 ++++----
src/bin/scripts/vacuumdb.c | 2 +-
2 files changed, 5 insertions(+), 5 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