]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Silence compiler warning from older compilers.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 23 Mar 2026 21:25:12 +0000 (17:25 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 23 Mar 2026 21:25:12 +0000 (17:25 -0400)
commit2e123e3c2bd34f2377212a4e7cfcdbf9e2d9c7ff
tree11046bcae905795628544c78ce4d1ee6c8f91430
parent7c08a7e809721212b0c2b694cd19bd4379b8974f
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.
src/backend/commands/tablecmds.c