Update comment about ExprState.escontext

Amit Langote <amitlan@postgresql.org>

Commit: fe323438140f69b8122e618387db1beb9ddaf5d3
Author: Amit Langote <amitlan@postgresql.org>
Date: 2024-09-06T03:01:49Z
Releases: 17.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