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

Commitd1e2cac

Browse files
committed
Make gen_partprune_steps static
There's no need to export this function, so don't. Michaël didn'tactually write the patch, but we list him as first author because with atrivial one like this, intellectual authorship is as important (if notmore) as bit shovelling.Author: Michaël Paquier, Amit LangoteDiscussion:https://postgr.es/m/c91299c4-199b-0f16-339b-a29d6d2a39ee@lab.ntt.co.jp
1 parentc775fb9 commitd1e2cac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎src/backend/partitioning/partprune.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ typedef struct PruneStepResult
116116
}PruneStepResult;
117117

118118

119+
staticList*gen_partprune_steps(RelOptInfo*rel,List*clauses,
120+
bool*contradictory);
119121
staticList*gen_partprune_steps_internal(GeneratePruningStepsContext*context,
120122
RelOptInfo*rel,List*clauses,
121123
bool*contradictory);
@@ -355,7 +357,7 @@ make_partition_pruneinfo(PlannerInfo *root, List *partition_rels,
355357
* If the clauses in the input list are contradictory or there is a
356358
* pseudo-constant "false", *contradictory is set to true upon return.
357359
*/
358-
List*
360+
staticList*
359361
gen_partprune_steps(RelOptInfo*rel,List*clauses,bool*contradictory)
360362
{
361363
GeneratePruningStepsContextcontext;

‎src/include/partitioning/partprune.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,5 @@ extern List *make_partition_pruneinfo(PlannerInfo *root, List *partition_rels,
6767
externRelidsprune_append_rel_partitions(RelOptInfo*rel);
6868
externBitmapset*get_matching_partitions(PartitionPruneContext*context,
6969
List*pruning_steps);
70-
externList*gen_partprune_steps(RelOptInfo*rel,List*clauses,
71-
bool*contradictory);
7270

7371
#endif/* PARTPRUNE_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp