Add _outTidRangePath()

We have outNode() coverage for all path nodes, but this one was
missed when it was added.
pull/66/head
Peter Eisentraut 4 years ago
parent d16ebfbff7
commit 3bb309be75
  1. 13
      src/backend/nodes/outfuncs.c

@ -1859,6 +1859,16 @@ _outTidPath(StringInfo str, const TidPath *node)
WRITE_NODE_FIELD(tidquals);
}
static void
_outTidRangePath(StringInfo str, const TidRangePath *node)
{
WRITE_NODE_TYPE("TIDRANGEPATH");
_outPathInfo(str, (const Path *) node);
WRITE_NODE_FIELD(tidrangequals);
}
static void
_outSubqueryScanPath(StringInfo str, const SubqueryScanPath *node)
{
@ -4166,6 +4176,9 @@ outNode(StringInfo str, const void *obj)
case T_TidPath:
_outTidPath(str, obj);
break;
case T_TidRangePath:
_outTidRangePath(str, obj);
break;
case T_SubqueryScanPath:
_outSubqueryScanPath(str, obj);
break;

Loading…
Cancel
Save