mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Renaming for new subscripting mechanism
Over at patch https://commitfest.postgresql.org/21/1062/ Dmitry wants to introduce a more generic subscription mechanism, which allows subscripting not only arrays but also other object types such as JSONB. That functionality is introduced in a largish invasive patch, out of which this internal renaming patch was extracted. Author: Dmitry Dolgov Reviewed-by: Tom Lane, Arthur Zakirov Discussion: https://postgr.es/m/CA+q6zcUK4EqPAu7XRRO5CCjMwhz5zvg+rfWuLzVoxp_5sKS6=w@mail.gmail.com
This commit is contained in:
@ -2579,14 +2579,14 @@ JumbleExpr(pgssJumbleState *jstate, Node *node)
|
||||
JumbleExpr(jstate, (Node *) expr->aggfilter);
|
||||
}
|
||||
break;
|
||||
case T_ArrayRef:
|
||||
case T_SubscriptingRef:
|
||||
{
|
||||
ArrayRef *aref = (ArrayRef *) node;
|
||||
SubscriptingRef *sbsref = (SubscriptingRef *) node;
|
||||
|
||||
JumbleExpr(jstate, (Node *) aref->refupperindexpr);
|
||||
JumbleExpr(jstate, (Node *) aref->reflowerindexpr);
|
||||
JumbleExpr(jstate, (Node *) aref->refexpr);
|
||||
JumbleExpr(jstate, (Node *) aref->refassgnexpr);
|
||||
JumbleExpr(jstate, (Node *) sbsref->refupperindexpr);
|
||||
JumbleExpr(jstate, (Node *) sbsref->reflowerindexpr);
|
||||
JumbleExpr(jstate, (Node *) sbsref->refexpr);
|
||||
JumbleExpr(jstate, (Node *) sbsref->refassgnexpr);
|
||||
}
|
||||
break;
|
||||
case T_FuncExpr:
|
||||
|
Reference in New Issue
Block a user