Skip to content

Commit bc3ec59

Browse files
committed
fix typos
1 parent f645ed7 commit bc3ec59

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

pg_pathman.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,14 @@ _PG_init(void)
161161
runtimeappend_plan_methods.CustomName = "RuntimeAppend";
162162
runtimeappend_plan_methods.CreateCustomScanState = runtimeappend_create_scan_state;
163163

164-
runtimeppend_exec_methods.CustomName = "RuntimeAppend";
165-
runtimeppend_exec_methods.BeginCustomScan = runtimeappend_begin;
166-
runtimeppend_exec_methods.ExecCustomScan = runtimeappend_exec;
167-
runtimeppend_exec_methods.EndCustomScan = runtimeappend_end;
168-
runtimeppend_exec_methods.ReScanCustomScan = runtimeappend_rescan;
169-
runtimeppend_exec_methods.MarkPosCustomScan = NULL;
170-
runtimeppend_exec_methods.RestrPosCustomScan = NULL;
171-
runtimeppend_exec_methods.ExplainCustomScan = runtimeppend_explain;
164+
runtimeappend_exec_methods.CustomName = "RuntimeAppend";
165+
runtimeappend_exec_methods.BeginCustomScan = runtimeappend_begin;
166+
runtimeappend_exec_methods.ExecCustomScan = runtimeappend_exec;
167+
runtimeappend_exec_methods.EndCustomScan = runtimeappend_end;
168+
runtimeappend_exec_methods.ReScanCustomScan = runtimeappend_rescan;
169+
runtimeappend_exec_methods.MarkPosCustomScan = NULL;
170+
runtimeappend_exec_methods.RestrPosCustomScan = NULL;
171+
runtimeappend_exec_methods.ExplainCustomScan = runtimeappend_explain;
172172

173173
DefineCustomBoolVariable("pg_pathman.enable",
174174
"Enables pg_pathman's optimizations during the planner stage",

runtimeappend.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ bool pg_pathman_enable_runtimeappend = true;
1717

1818
CustomPathMethods runtimeappend_path_methods;
1919
CustomScanMethods runtimeappend_plan_methods;
20-
CustomExecMethods runtimeppend_exec_methods;
20+
CustomExecMethods runtimeappend_exec_methods;
2121

2222

2323
Path *
@@ -47,7 +47,7 @@ Node *
4747
runtimeappend_create_scan_state(CustomScan *node)
4848
{
4949
return create_append_scan_state_common(node,
50-
&runtimeppend_exec_methods,
50+
&runtimeappend_exec_methods,
5151
sizeof(RuntimeAppendState));
5252
}
5353

@@ -110,7 +110,7 @@ runtimeappend_rescan(CustomScanState *node)
110110
}
111111

112112
void
113-
runtimeppend_explain(CustomScanState *node, List *ancestors, ExplainState *es)
113+
runtimeappend_explain(CustomScanState *node, List *ancestors, ExplainState *es)
114114
{
115115
RuntimeAppendState *scan_state = (RuntimeAppendState *) node;
116116

runtimeappend.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ extern bool pg_pathman_enable_runtimeappend;
5454

5555
extern CustomPathMethods runtimeappend_path_methods;
5656
extern CustomScanMethods runtimeappend_plan_methods;
57-
extern CustomExecMethods runtimeppend_exec_methods;
57+
extern CustomExecMethods runtimeappend_exec_methods;
5858

5959
Path * create_runtimeappend_path(PlannerInfo *root, AppendPath *inner_append,
6060
ParamPathInfo *param_info, List *runtime_clauses,
@@ -74,6 +74,6 @@ void runtimeappend_end(CustomScanState *node);
7474

7575
void runtimeappend_rescan(CustomScanState *node);
7676

77-
void runtimeppend_explain(CustomScanState *node, List *ancestors, ExplainState *es);
77+
void runtimeappend_explain(CustomScanState *node, List *ancestors, ExplainState *es);
7878

7979
#endif

0 commit comments

Comments
 (0)