Update comment about ExprState.escontext

Amit Langote <amitlan@postgresql.org>

Commit: 3422f5f93fcf3a6418e32e4fead20067c1425712
Author: Amit Langote <amitlan@postgresql.org>
Date: 2024-09-06T01:13:53Z
Releases: 18.0
Update comment about ExprState.escontext

The updated comment provides more helpful guidance by mentioning that
escontext should be set when soft error handling is needed.

Reported-by: Jian He <jian.universality@gmail.com>
Discussion: https://postgr.es/m/CACJufxEo4sUjKCYtda0_qt9tazqqKPmF1cqhW9KBOUeJFqQd2g@mail.gmail.com
Backpatch-through: 17

Files

PathChange+/−
src/include/nodes/execnodes.h modified +4 −2

Discussion