注释修改为英文

This commit is contained in:
pulsar
2023-07-18 10:16:23 +08:00
parent e13a8ad033
commit 3bb76dc41f
2 changed files with 2 additions and 2 deletions

View File

@ -4429,9 +4429,9 @@ static Query* transformDeclareCursorStmt(ParseState* pstate, DeclareCursorStmt*
ERROR, (errcode(ERRCODE_INVALID_CURSOR_DEFINITION), errmsg("cannot specify both SCROLL and NO SCROLL")));
}
/*除WITH HOLD游标外,根据DeclareCursorName对使用的row type形成依赖*/
PG_TRY();
{
/* according to DeclareCursorName to form a dependency on the used ROW type */
if (!(stmt->options & CURSOR_OPT_HOLD)) {
u_sess->analyze_cxt.DeclareCursorName = stmt->portalname;
}

View File

@ -1403,7 +1403,7 @@ HoldPinnedPortals(bool is_rollback)
}
}
/*解除游标与row type类型的依赖关系*/
/* Release the dependency between CURSOR and ROW type */
static void CursorRecordTypeUnbind(const char* portal_name)
{
ListCell* cell = NULL;