Fix stray references to SubscriptRef

This type never existed.  SubscriptingRef was meant instead.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/2eaa45e3-efc5-4d75-b082-f8159f51445f%40eisentraut.org
This commit is contained in:
Peter Eisentraut
2025-12-03 14:41:12 +01:00
parent 1b2bb5077e
commit 9790affcce
4 changed files with 11 additions and 10 deletions

View File

@@ -74,7 +74,7 @@ hstore_subscript_transform(SubscriptingRef *sbsref,
errmsg("hstore subscript must have type text"),
parser_errposition(pstate, exprLocation(ai->uidx))));
/* ... and store the transformed subscript into the SubscriptRef node */
/* ... and store the transformed subscript into the SubscriptingRef node */
sbsref->refupperindexpr = list_make1(subexpr);
sbsref->reflowerindexpr = NIL;