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
pull/159/head
Peter Eisentraut 2 years ago
parent 362de947cd
commit 8b29a119fd
  1. 1
      src/backend/nodes/queryjumblefuncs.c

@ -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…
Cancel
Save