Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Comment improvements for ForeignPath.
authorRobert Haas <rhaas@postgresql.org>
Thu, 21 Apr 2016 17:30:48 +0000 (13:30 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 21 Apr 2016 17:30:48 +0000 (13:30 -0400)
It's not necessarily just scanning a base relation any more.

Amit Langote and Etsuro Fujita

src/backend/optimizer/README
src/include/nodes/relation.h

index 5e124597eea403a46b84c282b5d9e4aaee83f04a..24071729282932ebd86d4819f831d611c9857768 100644 (file)
@@ -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
index e9dfb663c203a5938d5de7d2f8e3fc86d78f2cc7..45739c3ee7a3553d5300bb858c652e9fbebce4ec 100644 (file)
@@ -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