Fix compiler warning.

Jeff Davis <jdavis@postgresql.org>

Commit: 56b1e88c804b0c7e32f77b4e2bd3cc42ebdfcc3f
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2024-10-23T17:24:17Z
Releases: 18.0
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

Files

PathChange+/−
src/backend/statistics/attribute_stats.c modified +1 −1

Discussion

Cited messages not in the archive: 2144895.1729653514@sss.pgh.pa.us