mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Mark functions as static and ifdef NOT_USED as appropriate.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: cost.h,v 1.33 2000/05/31 00:28:38 petere Exp $
|
||||
* $Id: cost.h,v 1.34 2000/06/08 22:37:51 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -81,8 +81,5 @@ extern Selectivity restrictlist_selectivity(Query *root,
|
||||
extern Selectivity clauselist_selectivity(Query *root,
|
||||
List *clauses,
|
||||
int varRelid);
|
||||
extern Selectivity clause_selectivity(Query *root,
|
||||
Node *clause,
|
||||
int varRelid);
|
||||
|
||||
#endif /* COST_H */
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: joininfo.h,v 1.15 2000/01/26 05:58:20 momjian Exp $
|
||||
* $Id: joininfo.h,v 1.16 2000/06/08 22:37:51 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
#include "nodes/relation.h"
|
||||
|
||||
extern JoinInfo *joininfo_member(List *join_relids, List *joininfo_list);
|
||||
extern JoinInfo *find_joininfo_node(RelOptInfo *this_rel, List *join_relids);
|
||||
|
||||
#endif /* JOININFO_H */
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: planmain.h,v 1.40 2000/05/31 00:28:38 petere Exp $
|
||||
* $Id: planmain.h,v 1.41 2000/06/08 22:37:51 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -27,7 +27,6 @@ extern Plan *query_planner(Query *root, List *tlist, List *qual,
|
||||
* prototypes for plan/createplan.c
|
||||
*/
|
||||
extern Plan *create_plan(Query *root, Path *best_path);
|
||||
extern SeqScan *make_seqscan(List *qptlist, List *qpqual, Index scanrelid);
|
||||
extern Sort *make_sort(List *tlist, Oid nonameid, Plan *lefttree,
|
||||
int keycount);
|
||||
extern Agg *make_agg(List *tlist, List *qual, Plan *lefttree);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: prep.h,v 1.21 2000/01/26 05:58:21 momjian Exp $
|
||||
* $Id: prep.h,v 1.22 2000/06/08 22:37:51 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -22,7 +22,6 @@
|
||||
*/
|
||||
extern List *canonicalize_qual(Expr *qual, bool removeAndFlag);
|
||||
extern List *cnfify(Expr *qual, bool removeAndFlag);
|
||||
extern Expr *dnfify(Expr *qual);
|
||||
|
||||
/*
|
||||
* prototypes for preptlist.c
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: tlist.h,v 1.25 2000/04/12 17:16:42 momjian Exp $
|
||||
* $Id: tlist.h,v 1.26 2000/06/08 22:37:51 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -16,8 +16,6 @@
|
||||
|
||||
#include "nodes/relation.h"
|
||||
|
||||
extern TargetEntry *tlistentry_member(Node *node, List *targetlist);
|
||||
extern Node *matching_tlist_expr(Node *node, List *targetlist);
|
||||
extern Resdom *tlist_member(Node *node, List *targetlist);
|
||||
|
||||
extern void add_var_to_tlist(RelOptInfo *rel, Var *var);
|
||||
|
||||
Reference in New Issue
Block a user