pgsql: Silence compiler warning from older compilers. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Silence compiler warning from older compilers.
Date
Msg-id E1w4mlw-0018dI-2J@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Silence compiler warning from older compilers.

Our RHEL7-vintage buildfarm animals are complaining about
"the comparison will always evaluate as true" for a usage of
SOFT_ERROR_OCCURRED() on a local variable.  This is the same
issue addressed in 7bc88c3d6 and some earlier commits, so solve
it the same way: write "escontext.error_occurred" instead.

Problem dates to recent commit a0b6ef29a, no need for back-patch.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2e123e3c2bd34f2377212a4e7cfcdbf9e2d9c7ff

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: minor improvements to SNI documentation.
Next
From: Michael Paquier
Date:
Subject: pgsql: Make implementation of SASLprep compliant for ASCII characters