aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-04-21 13:30:48 -0400
committerRobert Haas <rhaas@postgresql.org>2016-04-21 13:30:48 -0400
commit36f69faeff540cd93de0b6aa7c2d2a7781d637a6 (patch)
tree32932cc9252c4ae5be42c83dd76a53720be1acef /src
parent9f84280ae94b43b75dcf32aef433545335e7bb16 (diff)
downloadpostgresql-36f69faeff540cd93de0b6aa7c2d2a7781d637a6.tar.gz
postgresql-36f69faeff540cd93de0b6aa7c2d2a7781d637a6.zip
Comment improvements for ForeignPath.
It's not necessarily just scanning a base relation any more. Amit Langote and Etsuro Fujita
Diffstat (limited to 'src')
-rw-r--r--src/backend/optimizer/README2
-rw-r--r--src/include/nodes/relation.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/optimizer/README b/src/backend/optimizer/README
index 5e124597eea..24071729282 100644
--- a/src/backend/optimizer/README
+++ b/src/backend/optimizer/README
@@ -355,7 +355,7 @@ RelOptInfo - a relation or joined relations
BitmapHeapPath - top of a bitmapped index scan
TidPath - scan by CTID
SubqueryScanPath - scan a subquery-in-FROM
- ForeignPath - scan a foreign table
+ ForeignPath - scan a foreign table, foreign join or foreign upper-relation
CustomPath - for custom scan providers
AppendPath - append multiple subpaths together
MergeAppendPath - merge multiple subpaths, preserving their common sort order
diff --git a/src/include/nodes/relation.h b/src/include/nodes/relation.h
index e9dfb663c20..45739c3ee7a 100644
--- a/src/include/nodes/relation.h
+++ b/src/include/nodes/relation.h
@@ -1030,7 +1030,8 @@ typedef struct SubqueryScanPath
} SubqueryScanPath;
/*
- * ForeignPath represents a potential scan of a foreign table
+ * ForeignPath represents a potential scan of a foreign table, foreign join
+ * or foreign upper-relation.
*
* fdw_private stores FDW private data about the scan. While fdw_private is
* not actually touched by the core code during normal operations, it's