Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3422f5f

Browse files
committed
Update comment about ExprState.escontext
The updated comment provides more helpful guidance by mentioning thatescontext 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.comBackpatch-through: 17
1 parent7829f85 commit3422f5f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎src/include/nodes/execnodes.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,10 @@ typedef struct ExprState
132132
bool*innermost_domainnull;
133133

134134
/*
135-
* For expression nodes that support soft errors. Should be set to NULL
136-
* before calling ExecInitExprRec() if the caller wants errors thrown.
135+
* For expression nodes that support soft errors. Should be set to NULL if
136+
* the caller wants errors to be thrown. Callers that do not want errors
137+
* thrown should set it to a valid ErrorSaveContext before calling
138+
* ExecInitExprRec().
137139
*/
138140
ErrorSaveContext*escontext;
139141
}ExprState;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp