aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/nodes/execnodes.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h
index b62c96f2064..cd1b16296b5 100644
--- a/src/include/nodes/execnodes.h
+++ b/src/include/nodes/execnodes.h
@@ -132,8 +132,10 @@ typedef struct ExprState
bool *innermost_domainnull;
/*
- * For expression nodes that support soft errors. Should be set to NULL
- * before calling ExecInitExprRec() if the caller wants errors thrown.
+ * For expression nodes that support soft errors. Should be set to NULL if
+ * the caller wants errors to be thrown. Callers that do not want errors
+ * thrown should set it to a valid ErrorSaveContext before calling
+ * ExecInitExprRec().
*/
ErrorSaveContext *escontext;
} ExprState;