From: Robert Haas Date: Mon, 13 Apr 2026 16:45:57 +0000 (-0400) Subject: doc: Fix a couple of mistakes in pgplanadvice.sgml X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4a4f1a7e6285c846a4c2662d8ce5246a6bcb7e7;p=thirdparty%2Fpostgresql.git doc: Fix a couple of mistakes in pgplanadvice.sgml It said FOREIGN_SCAN where it should say FOREIGN_JOIN. NESTED_LOOP_MEMOIZE was mistakenly omitted from the list of join methods. Author: Lakshmi N Reviewed-by: jie wang Discussion: http://postgr.es/m/CA+3i_M-mo7Of=Pn8WzRfJLt=fc=gDTn1oOdj8v8BEtgXh9ZMCg@mail.gmail.com --- diff --git a/doc/src/sgml/pgplanadvice.sgml b/doc/src/sgml/pgplanadvice.sgml index c3e1ccb60a2..73155461c0b 100644 --- a/doc/src/sgml/pgplanadvice.sgml +++ b/doc/src/sgml/pgplanadvice.sgml @@ -266,7 +266,7 @@ SEQ_SCAN(target [ ... ]) TID_SCAN(target [ ... ]) INDEX_SCAN(target index_name [ ... ]) INDEX_ONLY_SCAN(target index_name [ ... ]) -FOREIGN_SCAN((target [ ... ]) [ ... ]) +FOREIGN_JOIN((target [ ... ]) [ ... ]) BITMAP_HEAP_SCAN(target [ ... ]) DO_NOT_SCAN(target [ ... ]) @@ -288,10 +288,10 @@ DO_NOT_SCAN(target [ ... ]) - FOREIGN_SCAN specifies that a join between two or + FOREIGN_JOIN specifies that a join between two or more foreign tables should be pushed down to a remote server so that it can be implemented as a single Foreign Scan. - Specifying FOREIGN_SCAN for a single foreign table is + Specifying FOREIGN_JOIN for a single foreign table is neither necessary nor permissible: a Foreign Scan will need to be used regardless. If you want to prevent a join from being pushed down, consider using the JOIN_ORDER tag for @@ -395,7 +395,7 @@ join_method_name(join_method_item [ ... ]) where join_method_name is: -{ MERGE_JOIN_MATERIALIZE | MERGE_JOIN_PLAIN | NESTED_LOOP_MATERIALIZE | NESTED_LOOP_PLAIN | HASH_JOIN } +{ MERGE_JOIN_MATERIALIZE | MERGE_JOIN_PLAIN | NESTED_LOOP_MATERIALIZE | NESTED_LOOP_MEMOIZE | NESTED_LOOP_PLAIN | HASH_JOIN } and join_method_item is: