Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4eb8b9c

Browse files
author
Etsuro Fujita
committed
Update comments on CustomPath struct.
Commite7cb7ee allowed custom scan providers to create CustomPathpaths for join relations as well, but missed updating the comments.Back-patch to all supported branches.Discussion:https://postgr.es/m/CAPmGK15ODkN%2B%3DhkBCufj1HBW0x5OTb65Xuy7ryXchMdiCMpx_g%40mail.gmail.com
1 parent74a5bf1 commit4eb8b9c

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

‎src/include/nodes/pathnodes.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,15 +1353,18 @@ typedef struct ForeignPath
13531353
}ForeignPath;
13541354

13551355
/*
1356-
* CustomPath represents a table scan done by some out-of-core extension.
1356+
* CustomPath represents a table scan or a table join done by some out-of-core
1357+
* extension.
13571358
*
13581359
* We provide a set of hooks here - which the provider must take care to set
13591360
* up correctly - to allow extensions to supply their own methods of scanning
1360-
* a relation. For example, a provider might provide GPU acceleration, a
1361-
* cache-based scan, or some other kind of logic we haven't dreamed up yet.
1361+
* a relation or joing relations. For example, a provider might provide GPU
1362+
* acceleration, a cache-based scan, or some other kind of logic we haven't
1363+
* dreamed up yet.
13621364
*
1363-
* CustomPaths can be injected into the planning process for a relation by
1364-
* set_rel_pathlist_hook functions.
1365+
* CustomPaths can be injected into the planning process for a base or join
1366+
* relation by set_rel_pathlist_hook or set_join_pathlist_hook functions,
1367+
* respectively.
13651368
*
13661369
* Core code must avoid assuming that the CustomPath is only as large as
13671370
* the structure declared here; providers are allowed to make it the first

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp