pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix compiler warning
Date: Fri, 05 Apr 2019 07:24:28 +0000
Message-ID: <E1hCJDA-0006UG-97@gemulon.postgresql.org> (raw)

Fix compiler warning

Rewrite get_attgenerated() to avoid compiler warning if the compiler
does not recognize that elog(ERROR) does not return.

Reported-by: David Rowley <david.rowley@2ndquadrant.com>

Branch
------
master

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

Modified Files
--------------
src/backend/utils/cache/lsyscache.c | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)



view thread (30+ messages)  latest in thread

Message-ID: <E1hCJDA-0006UG-97@gemulon.postgresql.org>
Permalink:  ../E1hCJDA-0006UG-97@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hCJDA-0006UG-97@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix compiler warning
  In-Reply-To: <E1hCJDA-0006UG-97@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