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

Commit 3bb309b

Browse files
committed
Add _outTidRangePath()
We have outNode() coverage for all path nodes, but this one was missed when it was added.
1 parent d16ebfb commit 3bb309b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/backend/nodes/outfuncs.c

+13
Original file line numberDiff line numberDiff line change
@@ -1859,6 +1859,16 @@ _outTidPath(StringInfo str, const TidPath *node)
18591859
WRITE_NODE_FIELD(tidquals);
18601860
}
18611861

1862+
static void
1863+
_outTidRangePath(StringInfo str, const TidRangePath *node)
1864+
{
1865+
WRITE_NODE_TYPE("TIDRANGEPATH");
1866+
1867+
_outPathInfo(str, (const Path *) node);
1868+
1869+
WRITE_NODE_FIELD(tidrangequals);
1870+
}
1871+
18621872
static void
18631873
_outSubqueryScanPath(StringInfo str, const SubqueryScanPath *node)
18641874
{
@@ -4166,6 +4176,9 @@ outNode(StringInfo str, const void *obj)
41664176
case T_TidPath:
41674177
_outTidPath(str, obj);
41684178
break;
4179+
case T_TidRangePath:
4180+
_outTidRangePath(str, obj);
4181+
break;
41694182
case T_SubqueryScanPath:
41704183
_outSubqueryScanPath(str, obj);
41714184
break;

0 commit comments

Comments
 (0)