pgsql: Fix compiler warning. - Mailing list pgsql-committers

From Jeff Davis
Subject pgsql: Fix compiler warning.
Date
Msg-id E1t3fMv-0026PN-1a@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix compiler warning.

Some buildfarm members complained about an always-true test in the
SOFT_ERROR_OCCURRED macro. Fix by reading the field directly rather
than using the macro.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/2144895.1729653514@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/56b1e88c804b0c7e32f77b4e2bd3cc42ebdfcc3f

Modified Files
--------------
src/backend/statistics/attribute_stats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: Documentation fixup.
Next
From: Masahiko Sawada
Date:
Subject: pgsql: Fix typo in tidstore.h.