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
This commit is contained in:
parent
362de947cd
commit
8b29a119fd
|
@ -375,6 +375,7 @@ _jumbleRangeTblEntry(JumbleState *jstate, Node *node)
|
|||
break;
|
||||
case RTE_FUNCTION:
|
||||
JUMBLE_NODE(functions);
|
||||
JUMBLE_FIELD(funcordinality);
|
||||
break;
|
||||
case RTE_TABLEFUNC:
|
||||
JUMBLE_NODE(tablefunc);
|
||||
|
|
Loading…
Reference in a new issue