pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Suppress various new compiler warnings.
Date: Sun, 21 Mar 2021 15:50:49 +0000
Message-ID: <E1lO0Lp-0004Sp-Jh@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1lO0Lp-0004Sp-Jh@gemulon.postgresql.org>
Permalink:  ../E1lO0Lp-0004Sp-Jh@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lO0Lp-0004Sp-Jh@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Suppress various new compiler warnings.
  In-Reply-To: <E1lO0Lp-0004Sp-Jh@gemulon.postgresql.org>
  References: <E1lO0Lp-0004Sp-Jh@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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