git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d16ebfb)
Add _outTidRangePath()
Mon, 7 Jun 2021 19:32:53 +0000 (21:32 +0200)
Mon, 7 Jun 2021 19:32:53 +0000 (21:32 +0200)
We have outNode() coverage for all path nodes, but this one was
missed when it was added.


diff --git a/src/backend/nodes/outfuncs.c b/src/backend/nodes/outfuncs.c
index 04696f613ccafc10d990783c3c46c02b5f7ab662..e32b92e2994d2bc70d91f955151146a79f197046 100644 (file)
--- a/src/backend/nodes/outfuncs.c
+++ b/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;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /