注释修改为英文
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user