Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8b29a11

Browse files
committed
Add missing RangeTblEntry field to jumble
RangeTblEntry.funcordinality should be jumbled, because the WITH ORDINALITY clause changes the query result. This was apparently an oversight in the past. Discussion: https://www.postgresql.org/message-id/flat/d7f421f8-fd6d-4759-adc3-247090a5d44b%40eisentraut.org
1 parent 362de94 commit 8b29a11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/nodes/queryjumblefuncs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ _jumbleRangeTblEntry(JumbleState *jstate, Node *node)
375375
break;
376376
case RTE_FUNCTION:
377377
JUMBLE_NODE(functions);
378+
JUMBLE_FIELD(funcordinality);
378379
break;
379380
case RTE_TABLEFUNC:
380381
JUMBLE_NODE(tablefunc);

0 commit comments

Comments
 (0)