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:
Peter Eisentraut 2024-02-29 14:05:56 +01:00
parent 362de947cd
commit 8b29a119fd
1 changed files with 1 additions and 0 deletions

View File

@ -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);