typo in paths.h
Started by Cary Huangalmost 2 years ago2 messages
Hello
I noticed that the comment for declaring create_tidscan_paths() in src/include/optimizer/paths.h has a typo. The function is implemented in tidpath.c, not tidpath.h as stated, which does not exist.
Made a small patch to correct it.
Thank you
Cary Huang
-------------
HighGo Software Inc. (Canada)
mailto:cary.huang@highgo.ca
Attachments:
correct_source_filename.patchapplication/octet-stream; name=correct_source_filename.patchDownload
diff --git a/src/include/optimizer/paths.h b/src/include/optimizer/paths.h
index 0e8a9c94ba..b137c8a589 100644
--- a/src/include/optimizer/paths.h
+++ b/src/include/optimizer/paths.h
@@ -83,7 +83,7 @@ extern bool match_index_to_operand(Node *operand, int indexcol,
extern void check_index_predicates(PlannerInfo *root, RelOptInfo *rel);
/*
- * tidpath.h
+ * tidpath.c
* routines to generate tid paths
*/
extern void create_tidscan_paths(PlannerInfo *root, RelOptInfo *rel);
Import Notes
Reply to msg id not found:
Re: typo in paths.h
On Wed, 13 Mar 2024 at 07:58, Cary Huang <cary.huang@highgo.ca> wrote:
I noticed that the comment for declaring create_tidscan_paths() in src/include/optimizer/paths.h has a typo. The function is implemented in tidpath.c, not tidpath.h as stated, which does not exist.
Thank you. Pushed.
David