diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/access/genam.h | 4 | ||||
| -rw-r--r-- | src/include/access/heapam.h | 4 | ||||
| -rw-r--r-- | src/include/access/xact.h | 4 | ||||
| -rw-r--r-- | src/include/commands/variable.h | 30 | ||||
| -rw-r--r-- | src/include/executor/executor.h | 4 | ||||
| -rw-r--r-- | src/include/executor/nodeTee.h | 3 | ||||
| -rw-r--r-- | src/include/miscadmin.h | 5 | ||||
| -rw-r--r-- | src/include/optimizer/plancat.h | 3 | ||||
| -rw-r--r-- | src/include/optimizer/planmain.h | 3 | ||||
| -rw-r--r-- | src/include/parser/parse_coerce.h | 3 | ||||
| -rw-r--r-- | src/include/parser/parse_func.h | 5 | ||||
| -rw-r--r-- | src/include/parser/parse_type.h | 3 | ||||
| -rw-r--r-- | src/include/rewrite/rewriteManip.h | 5 | ||||
| -rw-r--r-- | src/include/storage/bufmgr.h | 4 | ||||
| -rw-r--r-- | src/include/storage/lock.h | 3 | ||||
| -rw-r--r-- | src/include/storage/multilev.h | 3 | ||||
| -rw-r--r-- | src/include/storage/smgr.h | 3 | ||||
| -rw-r--r-- | src/include/utils/builtins.h | 5 | ||||
| -rw-r--r-- | src/include/utils/dt.h | 6 | ||||
| -rw-r--r-- | src/include/utils/nabstime.h | 3 |
20 files changed, 20 insertions, 83 deletions
diff --git a/src/include/access/genam.h b/src/include/access/genam.h index 647d2d7ff8..e3aefb6c0a 100644 --- a/src/include/access/genam.h +++ b/src/include/access/genam.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: genam.h,v 1.16 1998/09/01 04:34:06 momjian Exp $ + * $Id: genam.h,v 1.17 1998/10/08 18:30:20 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -47,7 +47,5 @@ extern Datum GetIndexValue(HeapTuple tuple, TupleDesc hTupDesc, /* in genam.c */ extern IndexScanDesc RelationGetIndexScan(Relation relation, bool scanFromEnd, uint16 numberOfKeys, ScanKey key); -extern void IndexScanMarkPosition(IndexScanDesc scan); -extern void IndexScanRestorePosition(IndexScanDesc scan); #endif /* GENAM_H */ diff --git a/src/include/access/heapam.h b/src/include/access/heapam.h index ecaed32c9f..35aad2fb14 100644 --- a/src/include/access/heapam.h +++ b/src/include/access/heapam.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: heapam.h,v 1.37 1998/09/01 04:34:12 momjian Exp $ + * $Id: heapam.h,v 1.38 1998/10/08 18:30:22 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -242,7 +242,6 @@ extern HeapAccessStatistics heap_access_stats; /* in stats.c */ /* heap_create, heap_creatr, and heap_destroy are declared in catalog/heap.h */ /* heapam.c */ -extern void doinsert(Relation relation, HeapTuple tup); extern Relation heap_open(Oid relationId); extern Relation heap_openr(char *relationName); @@ -268,7 +267,6 @@ extern void DataFill(char *data, TupleDesc tupleDesc, extern int heap_attisnull(HeapTuple tup, int attnum); extern int heap_sysattrlen(AttrNumber attno); extern bool heap_sysattrbyval(AttrNumber attno); -extern Datum heap_getsysattr(HeapTuple tup, Buffer b, int attnum); extern Datum nocachegetattr(HeapTuple tup, int attnum, TupleDesc att, bool *isnull); extern HeapTuple heap_copytuple(HeapTuple tuple); diff --git a/src/include/access/xact.h b/src/include/access/xact.h index d006264ae1..e4c1e0a88c 100644 --- a/src/include/access/xact.h +++ b/src/include/access/xact.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: xact.h,v 1.16 1998/10/06 02:40:06 tgl Exp $ + * $Id: xact.h,v 1.17 1998/10/08 18:30:23 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -86,7 +86,6 @@ typedef TransactionStateData *TransactionState; extern int TransactionFlushEnabled(void); extern void SetTransactionFlushEnabled(bool state); -extern bool IsTransactionState(void); extern bool IsAbortedTransactionBlockState(void); extern void OverrideTransactionSystem(bool flag); extern TransactionId GetCurrentTransactionId(void); @@ -115,7 +114,6 @@ extern TransactionId DisabledTransactionId; extern TransactionId xidin(char *representation); extern char *xidout(TransactionId transactionId); extern bool xideq(TransactionId xid1, TransactionId xid2); -extern bool TransactionIdIsLessThan(TransactionId id1, TransactionId id2); extern void TransactionIdAdd(TransactionId *xid, int value); #endif /* XACT_H */ diff --git a/src/include/commands/variable.h b/src/include/commands/variable.h index 2a92f327bf..a5110e883f 100644 --- a/src/include/commands/variable.h +++ b/src/include/commands/variable.h @@ -2,7 +2,7 @@ * Headers for handling of 'SET var TO', 'SHOW var' and 'RESET var' * statements * - * $Id: variable.h,v 1.7 1998/09/03 02:34:34 momjian Exp $ + * $Id: variable.h,v 1.8 1998/10/08 18:30:27 momjian Exp $ * */ #ifndef VARIABLE_H @@ -30,32 +30,4 @@ bool SetPGVariable(const char *, const char *); bool GetPGVariable(const char *); bool ResetPGVariable(const char *); -extern bool set_date(void); -extern bool show_date(void); -extern bool reset_date(void); -extern bool parse_date(const char *); -extern bool set_timezone(void); -extern bool show_timezone(void); -extern bool reset_timezone(void); -extern bool parse_timezone(const char *); -extern bool set_cost_heap(void); -extern bool show_cost_heap(void); -extern bool reset_cost_heap(void); -extern bool parse_cost_heap(const char *); -extern bool set_cost_index(void); -extern bool show_cost_index(void); -extern bool reset_cost_index(void); -extern bool parse_cost_index(const char *); -extern bool set_r_plans(void); -extern bool show_r_plans(void); -extern bool reset_r_plans(void); -extern bool parse_r_plans(const char *); -extern bool set_geqo(void); -extern bool show_geqo(void); -extern bool reset_geqo(void); -extern bool parse_geqo(const char *); -extern bool show_ksqo(void); -extern bool reset_ksqo(void); -extern bool parse_ksqo(const char *); - #endif /* VARIABLE_H */ diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index cf218dcd7f..3e6ae39e57 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: executor.h,v 1.25 1998/09/01 04:35:49 momjian Exp $ + * $Id: executor.h,v 1.26 1998/10/08 18:30:29 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -132,14 +132,12 @@ extern TupleTableSlot *ExecStoreTuple(HeapTuple tuple, Buffer buffer, bool shouldFree); extern TupleTableSlot *ExecClearTuple(TupleTableSlot *slot); -extern bool ExecSetSlotPolicy(TupleTableSlot *slot, bool shouldFree); extern TupleDesc ExecSetSlotDescriptor(TupleTableSlot *slot, TupleDesc tupdesc); extern void ExecSetSlotDescriptorIsNew(TupleTableSlot *slot, bool isNew); extern void ExecInitResultTupleSlot(EState *estate, CommonState *commonstate); extern void ExecInitScanTupleSlot(EState *estate, CommonScanState *commonscanstate); -extern void ExecInitMarkedTupleSlot(EState *estate, MergeJoinState *mergestate); extern void ExecInitOuterTupleSlot(EState *estate, HashJoinState *hashstate); extern TupleDesc ExecGetTupType(Plan *node); diff --git a/src/include/executor/nodeTee.h b/src/include/executor/nodeTee.h index 349c091e6a..797b3cbad0 100644 --- a/src/include/executor/nodeTee.h +++ b/src/include/executor/nodeTee.h @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: nodeTee.h,v 1.6 1998/09/01 04:36:09 momjian Exp $ + * $Id: nodeTee.h,v 1.7 1998/10/08 18:30:31 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -19,7 +19,6 @@ extern TupleTableSlot *ExecTee(Tee *node, Plan *parent); extern bool ExecInitTee(Tee *node, EState *estate, Plan *parent); -extern void ExecTeeReScan(Tee *node, ExprContext *exprCtxt, Plan *parent); extern void ExecEndTee(Tee *node, Plan *parent); extern int ExecCountSlotsTee(Tee *node); diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 6fe0bec78b..436b6cbf24 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -11,7 +11,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: miscadmin.h,v 1.33 1998/09/01 04:33:59 momjian Exp $ + * $Id: miscadmin.h,v 1.34 1998/10/08 18:30:18 momjian Exp $ * * NOTES * some of the information in this file will be moved to @@ -197,10 +197,7 @@ extern void InitPostgres(char *name); /* in miscinit.c */ extern void ExitPostgres(ExitStatus status); -extern void StatusBackendExit(int status); -extern void StatusPostmasterExit(int status); -extern bool IsNoProcessingMode(void); extern bool IsBootstrapProcessingMode(void); extern bool IsInitProcessingMode(void); extern bool IsNormalProcessingMode(void); diff --git a/src/include/optimizer/plancat.h b/src/include/optimizer/plancat.h index 8b4ec88894..f15e516a33 100644 --- a/src/include/optimizer/plancat.h +++ b/src/include/optimizer/plancat.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: plancat.h,v 1.9 1998/09/01 04:37:16 momjian Exp $ + * $Id: plancat.h,v 1.10 1998/10/08 18:30:32 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -58,6 +58,5 @@ extern Cost join_selectivity(Oid functionObjectId, Oid operatorObjectId, Oid relationObjectId2, AttrNumber attributeNumber2); extern List *find_inheritance_children(Oid inhparent); -extern List *VersionGetParents(Oid verrelid); #endif /* PLANCAT_H */ diff --git a/src/include/optimizer/planmain.h b/src/include/optimizer/planmain.h index 9860af8a75..83f6977a0c 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.16 1998/09/03 02:34:35 momjian Exp $ + * $Id: planmain.h,v 1.17 1998/10/08 18:30:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -54,7 +54,6 @@ extern List *join_references(List *clauses, List *outer_tlist, List *inner_tlist); extern List *index_outerjoin_references(List *inner_indxqual, List *outer_tlist, Index inner_relid); -extern void set_result_tlist_references(Result *resultNode); extern List *set_agg_tlist_references(Agg *aggNode); extern void set_agg_agglist_references(Agg *aggNode); extern void del_agg_tlist_references(List *tlist); diff --git a/src/include/parser/parse_coerce.h b/src/include/parser/parse_coerce.h index 7531e5c754..8820a3e3c3 100644 --- a/src/include/parser/parse_coerce.h +++ b/src/include/parser/parse_coerce.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: parse_coerce.h,v 1.5 1998/09/01 04:37:32 momjian Exp $ + * $Id: parse_coerce.h,v 1.6 1998/10/08 18:30:36 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -108,7 +108,6 @@ typedef enum CATEGORY extern bool IsPreferredType(CATEGORY category, Oid type); -extern Oid PreferredType(CATEGORY category, Oid type); extern CATEGORY TypeCategory(Oid type); extern bool can_coerce_type(int nargs, Oid *input_typeids, Oid *func_typeids); diff --git a/src/include/parser/parse_func.h b/src/include/parser/parse_func.h index eab4b06ade..a4933426be 100644 --- a/src/include/parser/parse_func.h +++ b/src/include/parser/parse_func.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: parse_func.h,v 1.11 1998/09/01 04:37:34 momjian Exp $ + * $Id: parse_func.h,v 1.12 1998/10/08 18:30:38 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -47,9 +47,6 @@ extern Node *ParseNestedFuncOrColumn(ParseState *pstate, Attr *attr, extern Node *ParseFuncOrColumn(ParseState *pstate, char *funcname, List *fargs, int *curr_resno, int precedence); -extern Oid * - func_select_candidate(int nargs, Oid *input_typeids, CandidateList candidates); - extern void func_error(char *caller, char *funcname, int nargs, Oid *argtypes, char *msg); diff --git a/src/include/parser/parse_type.h b/src/include/parser/parse_type.h index 3a01dd292e..bc906090b0 100644 --- a/src/include/parser/parse_type.h +++ b/src/include/parser/parse_type.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: parse_type.h,v 1.8 1998/09/01 04:37:40 momjian Exp $ + * $Id: parse_type.h,v 1.9 1998/10/08 18:30:39 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -27,7 +27,6 @@ extern bool typeByVal(Type t); extern char *typeTypeName(Type t); extern char typeTypeFlag(Type t); extern char *stringTypeString(Type tp, char *string, int32 atttypmod); -extern Oid typeidOutfunc(Oid type_id); extern Oid typeidTypeRelid(Oid type_id); extern Oid typeTypeRelid(Type typ); extern Oid typeidTypElem(Oid type_id); diff --git a/src/include/rewrite/rewriteManip.h b/src/include/rewrite/rewriteManip.h index dd3ba1ff15..7924f93161 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.9 1998/09/01 04:38:03 momjian Exp $ + * $Id: rewriteManip.h,v 1.10 1998/10/08 18:30:41 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -25,13 +25,10 @@ void AddQual(Query *parsetree, Node *qual); void AddHavingQual(Query *parsetree, Node *havingQual); void AddNotQual(Query *parsetree, Node *qual); -void FixResdomTypes(List *user_tlist); void FixNew(RewriteInfo *info, Query *parsetree); void HandleRIRAttributeRule(Query *parsetree, List *rtable, List *targetlist, int rt_index, int attr_num, int *modified, int *badpostquel); -void HandleViewRule(Query *parsetree, List *rtable, List *targetlist, - int rt_index, int *modified); #endif /* REWRITEMANIP_H */ diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h index cfd4a73bc5..1948e813ee 100644 --- a/src/include/storage/bufmgr.h +++ b/src/include/storage/bufmgr.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: bufmgr.h,v 1.22 1998/09/01 04:38:12 momjian Exp $ + * $Id: bufmgr.h,v 1.23 1998/10/08 18:30:43 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -143,11 +143,9 @@ extern void ResetBufferPool(void); extern int BufferPoolCheckLeak(void); extern void FlushBufferPool(int StableMainMemoryFlag); extern BlockNumber BufferGetBlockNumber(Buffer buffer); -extern Relation BufferGetRelation(Buffer buffer); extern BlockNumber RelationGetNumberOfBlocks(Relation relation); extern void ReleaseRelationBuffers(Relation rel); extern void DropBuffers(Oid dbid); -extern void PrintBufferDescs(void); extern void PrintPinnedBufs(void); extern int BufferShmemSize(void); extern int ReleaseBuffer(Buffer buffer); diff --git a/src/include/storage/lock.h b/src/include/storage/lock.h index 09292c4f74..329aa758a7 100644 --- a/src/include/storage/lock.h +++ b/src/include/storage/lock.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: lock.h,v 1.18 1998/09/01 04:38:24 momjian Exp $ + * $Id: lock.h,v 1.19 1998/10/08 18:30:45 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -247,7 +247,6 @@ extern int LockShmemSize(void); extern bool LockingDisabled(void); extern bool DeadLockCheck(SHM_QUEUE *lockQueue, LOCK *findlock, bool skip_check); -ArrayType *LockOwners(LOCKMETHOD lockmethod, LOCKTAG *locktag); #ifdef DEADLOCK_DEBUG extern void DumpLocks(void); diff --git a/src/include/storage/multilev.h b/src/include/storage/multilev.h index a09a6077bd..43d8fc4ba4 100644 --- a/src/include/storage/multilev.h +++ b/src/include/storage/multilev.h @@ -7,7 +7,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: multilev.h,v 1.13 1998/09/01 04:38:25 momjian Exp $ + * $Id: multilev.h,v 1.14 1998/10/08 18:30:46 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -75,7 +75,6 @@ extern LOCKMETHOD ShortTermTableId; */ extern LOCKMETHOD InitMultiLevelLocks(void); extern bool MultiLockReln(LockInfo lockinfo, LOCKMODE lockmode); -extern bool MultiLockTuple(LockInfo lockinfo, ItemPointer tidPtr, LOCKMODE lockmode); extern bool MultiLockPage(LockInfo lockinfo, ItemPointer tidPtr, LOCKMODE lockmode); extern bool MultiReleaseReln(LockInfo lockinfo, LOCKMODE lockmode); diff --git a/src/include/storage/smgr.h b/src/include/storage/smgr.h index a2852ad846..917201d995 100644 --- a/src/include/storage/smgr.h +++ b/src/include/storage/smgr.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: smgr.h,v 1.12 1998/09/01 04:38:37 momjian Exp $ + * $Id: smgr.h,v 1.13 1998/10/08 18:30:47 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -39,7 +39,6 @@ extern int smgrblindwrt(int16 which, char *dbname, char *relname, Oid dbid, extern int smgrnblocks(int16 which, Relation reln); extern int smgrtruncate(int16 which, Relation reln, int nblocks); extern int smgrcommit(void); -extern bool smgriswo(int16 smgrno); diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 235ee0a829..f3c57d4deb 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.59 1998/10/08 02:08:47 momjian Exp $ + * $Id: builtins.h,v 1.60 1998/10/08 18:30:49 momjian Exp $ * * NOTES * This should normally only be included by fmgr.h. @@ -141,7 +141,6 @@ extern bool namelt(NameData *arg1, NameData *arg2); extern bool namele(NameData *arg1, NameData *arg2); extern bool namegt(NameData *arg1, NameData *arg2); extern bool namege(NameData *arg1, NameData *arg2); -extern int namecmp(Name n1, Name n2); extern int namecpy(Name n1, Name n2); extern int namestrcpy(Name name, char *str); extern int namestrcmp(Name name, char *str); @@ -229,7 +228,6 @@ extern bool intervalct(TimeInterval i1, TimeInterval i2); extern bool intervalov(TimeInterval i1, TimeInterval i2); extern AbsoluteTime intervalstart(TimeInterval i); extern AbsoluteTime intervalend(TimeInterval i); -extern int isreltime(char *timestring); extern text *timeofday(void); /* filename.c */ @@ -440,7 +438,6 @@ extern text *textcat(text *arg1, text *arg2); extern bool texteq(text *arg1, text *arg2); extern bool textne(text *arg1, text *arg2); extern int varstr_cmp(char *arg1, int len1, char *arg2, int len2); -extern int text_cmp(text *arg1, text *arg2); extern bool text_lt(text *arg1, text *arg2); extern bool text_le(text *arg1, text *arg2); extern bool text_gt(text *arg1, text *arg2); diff --git a/src/include/utils/dt.h b/src/include/utils/dt.h index 10c229beb6..5b93abac76 100644 --- a/src/include/utils/dt.h +++ b/src/include/utils/dt.h @@ -8,7 +8,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: dt.h,v 1.32 1998/09/01 04:38:59 momjian Exp $ + * $Id: dt.h,v 1.33 1998/10/08 18:30:50 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -315,14 +315,10 @@ extern void GetCurrentTime(struct tm * tm); extern DateTime SetDateTime(DateTime datetime); extern int tm2datetime(struct tm * tm, double fsec, int *tzp, DateTime *dt); extern int datetime2tm(DateTime dt, int *tzp, struct tm * tm, double *fsec, char **tzn); -extern int timespan2tm(TimeSpan span, struct tm * tm, float8 *fsec); -extern int tm2timespan(struct tm * tm, double fsec, TimeSpan *span); extern void j2date(int jd, int *year, int *month, int *day); extern int date2j(int year, int month, int day); -extern double time2t(const int hour, const int min, const double sec); - extern int ParseDateTime(char *timestr, char *lowstr, char **field, int *ftype, int maxfields, int *numfields); extern int DecodeDateTime(char **field, int *ftype, diff --git a/src/include/utils/nabstime.h b/src/include/utils/nabstime.h index 7c6828e84c..d1784c7cfb 100644 --- a/src/include/utils/nabstime.h +++ b/src/include/utils/nabstime.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: nabstime.h,v 1.16 1998/09/01 04:39:23 momjian Exp $ + * $Id: nabstime.h,v 1.17 1998/10/08 18:30:52 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -116,7 +116,6 @@ extern AbsoluteTime datetime_abstime(DateTime *datetime); extern DateTime *abstime_datetime(AbsoluteTime abstime); extern bool AbsoluteTimeIsBefore(AbsoluteTime time1, AbsoluteTime time2); -extern bool AbsoluteTimeIsAfter(AbsoluteTime time1, AbsoluteTime time2); extern void abstime2tm(AbsoluteTime time, int *tzp, struct tm * tm, char *tzn); |
