pgsql: Suppress various new compiler warnings.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Suppress various new compiler warnings.
Date: 2021-03-21 15:50:49
Message-ID: E1lO0Lp-0004Sp-Jh@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress various new compiler warnings.

Compilers that don't understand that elog(ERROR) doesn't return
issued warnings here. In the cases in libpq_pipeline.c, we were
not exactly helping things by failing to mark pg_fatal() as noreturn.

Per buildfarm.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9fb9691a88ae8df9bc30e0f0f72de7c96e73e125

Modified Files
--------------
src/backend/access/common/detoast.c | 2 ++
src/backend/access/common/toast_compression.c | 3 +++
src/include/access/toast_compression.h | 1 +
src/test/modules/libpq_pipeline/libpq_pipeline.c | 6 ++++--
4 files changed, 10 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2021-03-21 15:56:45 pgsql: Unbreak recovery test on Windows
Previous Message Peter Eisentraut 2021-03-21 07:12:36 pgsql: Move lwlock-release probe back where it belongs