summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/access/valid.h4
-rw-r--r--src/include/lib/stringinfo.h4
-rw-r--r--src/include/libpq/auth.h3
-rw-r--r--src/include/nodes/nodes.h7
-rw-r--r--src/include/optimizer/paths.h4
-rw-r--r--src/include/optimizer/planmain.h5
-rw-r--r--src/include/parser/parse_clause.h4
-rw-r--r--src/include/parser/parse_expr.h3
-rw-r--r--src/include/rewrite/rewriteHandler.h7
-rw-r--r--src/include/rewrite/rewriteManip.h3
-rw-r--r--src/include/storage/fd.h3
-rw-r--r--src/include/tcop/tcopprot.h3
-rw-r--r--src/include/utils/builtins.h3
-rw-r--r--src/include/utils/memutils.h3
-rw-r--r--src/include/utils/trace.h3
15 files changed, 16 insertions, 43 deletions
diff --git a/src/include/access/valid.h b/src/include/access/valid.h
index a340bb78da..7728eadc0d 100644
--- a/src/include/access/valid.h
+++ b/src/include/access/valid.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: valid.h,v 1.17 1999/02/13 23:20:59 momjian Exp $
+ * $Id: valid.h,v 1.18 1999/05/26 12:56:15 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -146,6 +146,4 @@ do \
} \
} while (0)
-extern bool TupleUpdatedByCurXactAndCmd(HeapTuple t);
-
#endif /* VALID_H */
diff --git a/src/include/lib/stringinfo.h b/src/include/lib/stringinfo.h
index dbf901c67e..da806aa433 100644
--- a/src/include/lib/stringinfo.h
+++ b/src/include/lib/stringinfo.h
@@ -9,7 +9,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: stringinfo.h,v 1.12 1999/05/25 16:13:59 momjian Exp $
+ * $Id: stringinfo.h,v 1.13 1999/05/26 12:56:27 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -60,11 +60,13 @@ typedef StringInfoData *StringInfo;
*-------------------------
*/
+#ifdef NOT_USED
/*------------------------
* makeStringInfo
* Create an empty 'StringInfoData' & return a pointer to it.
*/
extern StringInfo makeStringInfo(void);
+#endif
/*------------------------
* initStringInfo
diff --git a/src/include/libpq/auth.h b/src/include/libpq/auth.h
index 4f78a575f3..eb7c53cb1a 100644
--- a/src/include/libpq/auth.h
+++ b/src/include/libpq/auth.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: auth.h,v 1.11 1999/02/13 23:21:33 momjian Exp $
+ * $Id: auth.h,v 1.12 1999/05/26 12:56:29 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -21,7 +21,6 @@
*/
void be_recvauth(Port *port);
-void auth_failed(Port *port);
#define PG_KRB4_VERSION "PGVER4.1" /* at most KRB_SENDAUTH_VLEN chars */
#define PG_KRB5_VERSION "PGVER5.1"
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h
index 09d5a1bae5..8415069f0f 100644
--- a/src/include/nodes/nodes.h
+++ b/src/include/nodes/nodes.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: nodes.h,v 1.48 1999/03/23 16:51:03 momjian Exp $
+ * $Id: nodes.h,v 1.49 1999/05/26 12:56:33 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -281,11 +281,6 @@ extern void *stringToNode(char *str);
extern void *copyObject(void *obj);
/*
- * nodes/freefuncs.c
- */
-extern void freeObject(void *obj);
-
-/*
* nodes/equalfuncs.c
*/
extern bool equal(void *a, void *b);
diff --git a/src/include/optimizer/paths.h b/src/include/optimizer/paths.h
index 203a988327..ee39919245 100644
--- a/src/include/optimizer/paths.h
+++ b/src/include/optimizer/paths.h
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: paths.h,v 1.29 1999/05/25 22:43:11 momjian Exp $
+ * $Id: paths.h,v 1.30 1999/05/26 12:56:35 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -83,8 +83,6 @@ extern List *make_rels_by_clause_joins(Query *root, RelOptInfo *old_rel,
List *joininfo_list, Relids only_relids);
extern List *make_rels_by_clauseless_joins(RelOptInfo *old_rel,
List *inner_rels);
-extern RelOptInfo *make_join_rel(RelOptInfo *outer_rel, RelOptInfo *inner_rel, JoinInfo *joininfo);
-extern List *new_join_tlist(List *tlist, int first_resdomno);
extern RelOptInfo *get_cheapest_complete_rel(List *join_rel_list);
/*
diff --git a/src/include/optimizer/planmain.h b/src/include/optimizer/planmain.h
index 71c11b7b87..edf4da525e 100644
--- a/src/include/optimizer/planmain.h
+++ b/src/include/optimizer/planmain.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: planmain.h,v 1.26 1999/05/25 16:14:22 momjian Exp $
+ * $Id: planmain.h,v 1.27 1999/05/26 12:56:36 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -57,9 +57,6 @@ extern List *index_outerjoin_references(List *inner_indxqual,
extern void replace_tlist_with_subplan_refs(List *tlist,
Index subvarno,
List *subplanTargetList);
-extern void replace_vars_with_subplan_refs(Node *clause,
- Index subvarno,
- List *subplanTargetList);
extern bool set_agg_tlist_references(Agg *aggNode);
extern void del_agg_tlist_references(List *tlist);
extern void check_having_for_ungrouped_vars(Node *clause,
diff --git a/src/include/parser/parse_clause.h b/src/include/parser/parse_clause.h
index 65d886494c..82cac2e233 100644
--- a/src/include/parser/parse_clause.h
+++ b/src/include/parser/parse_clause.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: parse_clause.h,v 1.8 1999/02/23 08:05:27 thomas Exp $
+ * $Id: parse_clause.h,v 1.9 1999/05/26 12:56:41 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -26,6 +26,4 @@ extern List *transformGroupClause(ParseState *pstate, List *grouplist,
extern List *transformSortClause(ParseState *pstate,
List *orderlist, List *sortClause,
List *targetlist, char *uniqueFlag);
-extern List *transformUnionClause(List *unionClause, List *targetlist);
-
#endif /* PARSE_CLAUSE_H */
diff --git a/src/include/parser/parse_expr.h b/src/include/parser/parse_expr.h
index 1d4b594f32..285b00f3f7 100644
--- a/src/include/parser/parse_expr.h
+++ b/src/include/parser/parse_expr.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: parse_expr.h,v 1.10 1998/09/01 04:37:33 momjian Exp $
+ * $Id: parse_expr.h,v 1.11 1999/05/26 12:56:41 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -19,7 +19,6 @@
#include <parser/parse_node.h>
extern Node *transformExpr(ParseState *pstate, Node *expr, int precedence);
-extern Node *transformIdent(ParseState *pstate, Node *expr, int precedence);
extern Oid exprType(Node *expr);
extern Node *parser_typecast2(Node *expr, Oid exprType, Type tp, int32 attypmod);
diff --git a/src/include/rewrite/rewriteHandler.h b/src/include/rewrite/rewriteHandler.h
index be2feae6ca..2b5caebba4 100644
--- a/src/include/rewrite/rewriteHandler.h
+++ b/src/include/rewrite/rewriteHandler.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: rewriteHandler.h,v 1.9 1999/05/25 16:14:34 momjian Exp $
+ * $Id: rewriteHandler.h,v 1.10 1999/05/26 12:56:48 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -35,10 +35,5 @@ typedef struct _rewrite_meta_knowledge RewriteInfo;
extern List *QueryRewrite(Query *parsetree);
-/***S*I***/
-extern Query *Except_Intersect_Rewrite(Query *parsetree);
-extern void create_list(Node *ptr, List **intersect_list);
-extern Node *intersect_tree_analyze(Node *tree, Node *first_select, Node *parsetree);
-extern void check_targetlists_are_compatible(List *prev_target, List *current_target);
#endif /* REWRITEHANDLER_H */
diff --git a/src/include/rewrite/rewriteManip.h b/src/include/rewrite/rewriteManip.h
index c258bb1103..389676daba 100644
--- a/src/include/rewrite/rewriteManip.h
+++ b/src/include/rewrite/rewriteManip.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: rewriteManip.h,v 1.15 1999/05/25 16:14:35 momjian Exp $
+ * $Id: rewriteManip.h,v 1.16 1999/05/26 12:56:50 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -25,7 +25,6 @@ void AddQual(Query *parsetree, Node *qual);
void AddHavingQual(Query *parsetree, Node *havingQual);
void AddNotQual(Query *parsetree, Node *qual);
-void AddNotHavingQual(Query *parsetree, Node *havingQual);
void AddGroupClause(Query *parsetree, List *group_by, List *tlist);
void FixNew(RewriteInfo *info, Query *parsetree);
diff --git a/src/include/storage/fd.h b/src/include/storage/fd.h
index 94db91af02..361b8c15eb 100644
--- a/src/include/storage/fd.h
+++ b/src/include/storage/fd.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: fd.h,v 1.15 1999/05/25 22:43:24 momjian Exp $
+ * $Id: fd.h,v 1.16 1999/05/26 12:56:53 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -94,7 +94,6 @@ extern BufFile *BufFileCreate(File file);
extern void BufFileClose(BufFile *file);
extern size_t BufFileRead(BufFile *file, void *ptr, size_t size);
extern size_t BufFileWrite(BufFile *file, void *ptr, size_t size);
-extern int BufFileFlush(BufFile *file);
extern long BufFileSeek(BufFile *file, long offset, int whence);
/* Miscellaneous support routines */
diff --git a/src/include/tcop/tcopprot.h b/src/include/tcop/tcopprot.h
index 535d974b9a..d0351a5f95 100644
--- a/src/include/tcop/tcopprot.h
+++ b/src/include/tcop/tcopprot.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: tcopprot.h,v 1.20 1999/05/25 16:14:48 momjian Exp $
+ * $Id: tcopprot.h,v 1.21 1999/05/26 12:56:58 momjian Exp $
*
* OLD COMMENTS
* This file was created so that other c files could get the two
@@ -43,7 +43,6 @@ extern bool InError;
extern List *pg_parse_and_plan(char *query_string, Oid *typev, int nargs,
List **queryListP, CommandDest dest,
bool aclOverride);
-extern void pg_exec_query(char *query_string);
extern void pg_exec_query_acl_override(char *query_string);
extern void
pg_exec_query_dest(char *query_string, CommandDest dest, bool aclOverride);
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h
index 1d434bf3f2..1d8044ca54 100644
--- a/src/include/utils/builtins.h
+++ b/src/include/utils/builtins.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: builtins.h,v 1.80 1999/05/25 22:43:31 momjian Exp $
+ * $Id: builtins.h,v 1.81 1999/05/26 12:57:03 momjian Exp $
*
* NOTES
* This should normally only be included by fmgr.h.
@@ -518,7 +518,6 @@ extern text *lpad(text *string1, int4 len, text *string2);
extern text *rpad(text *string1, int4 len, text *string2);
extern text *ltrim(text *string, text *set);
extern text *rtrim(text *string, text *set);
-extern text *substr(text *string, int4 m, int4 n);
extern text *translate(text *string, char from, char to);
/* acl.c */
diff --git a/src/include/utils/memutils.h b/src/include/utils/memutils.h
index 26483f06fc..74f0090243 100644
--- a/src/include/utils/memutils.h
+++ b/src/include/utils/memutils.h
@@ -15,7 +15,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: memutils.h,v 1.26 1999/05/25 22:43:36 momjian Exp $
+ * $Id: memutils.h,v 1.27 1999/05/26 12:57:07 momjian Exp $
*
* NOTES
* some of the information in this file will be moved to
@@ -80,7 +80,6 @@ struct OrderedSetData
};
extern void OrderedSetInit(OrderedSet set, Offset offset);
-extern bool OrderedSetContains(OrderedSet set, OrderedElem elem);
extern Pointer OrderedSetGetHead(OrderedSet set);
extern Pointer OrderedElemGetPredecessor(OrderedElem elem);
extern Pointer OrderedElemGetSuccessor(OrderedElem elem);
diff --git a/src/include/utils/trace.h b/src/include/utils/trace.h
index 8dce7013d4..1ec2fd480c 100644
--- a/src/include/utils/trace.h
+++ b/src/include/utils/trace.h
@@ -27,11 +27,8 @@ char *tprintf_timestamp(void);
#define TIMESTAMP_SIZE 0
#endif
-extern int tprintf1(const char *fmt,...);
extern int tprintf(int flag, const char *fmt,...);
extern int eprintf(const char *fmt,...);
-extern int option_flag(int flag);
-extern int set_option_flag(int flag, int value);
extern void write_syslog(int level, char *line);
extern void parse_options(char *str, bool secure);
extern void read_pg_options(SIGNAL_ARGS);