pgsql: Fix compiler warning - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Fix compiler warning
Date
Msg-id E1hCJDA-0006UG-97@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: Revert "Consistently test for in-use shared memory."
Next
From: Peter Eisentraut
Date:
Subject: Re: pgsql: Generated columns