Silence compiler warning from older compilers.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2e123e3c2bd34f2377212a4e7cfcdbf9e2d9c7ff
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2026-03-23T21:25:12Z
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.

Files

PathChange+/−
src/backend/commands/tablecmds.c modified +1 −1