pgsql: Suppress various new compiler warnings. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Suppress various new compiler warnings.
Date
Msg-id E1lO0Lp-0004Sp-Jh@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Move lwlock-release probe back where it belongs
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Unbreak recovery test on Windows