diff options
Diffstat (limited to 'src/include')
43 files changed, 169 insertions, 168 deletions
diff --git a/src/include/access/hash.h b/src/include/access/hash.h index 6250ead85a2..685acee3f59 100644 --- a/src/include/access/hash.h +++ b/src/include/access/hash.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: hash.h,v 1.23 1999/05/25 16:13:27 momjian Exp $ + * $Id: hash.h,v 1.24 1999/05/25 22:42:30 momjian Exp $ * * NOTES * modeled after Margo Seltzer's hash implementation for unix. @@ -265,7 +265,7 @@ extern void hashdelete(Relation rel, ItemPointer tid); /* hashfunc.c */ extern uint32 hashint2(int16 key); extern uint32 hashint4(uint32 key); -extern uint32 hashint8(int64 * key); +extern uint32 hashint8(int64 *key); extern uint32 hashfloat4(float32 keyp); extern uint32 hashfloat8(float64 keyp); extern uint32 hashoid(Oid key); diff --git a/src/include/access/htup.h b/src/include/access/htup.h index 4586f6118a4..996d2c158c6 100644 --- a/src/include/access/htup.h +++ b/src/include/access/htup.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: htup.h,v 1.15 1999/05/25 16:13:31 momjian Exp $ + * $Id: htup.h,v 1.16 1999/05/25 22:42:32 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -48,7 +48,7 @@ typedef struct HeapTupleHeaderData /* bit map of domains */ /* MORE DATA FOLLOWS AT END OF STRUCT */ -} HeapTupleHeaderData; +} HeapTupleHeaderData; typedef HeapTupleHeaderData *HeapTupleHeader; diff --git a/src/include/access/printtup.h b/src/include/access/printtup.h index 6b5a538b5e6..0fce96e73a2 100644 --- a/src/include/access/printtup.h +++ b/src/include/access/printtup.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: printtup.h,v 1.9 1999/05/25 16:13:33 momjian Exp $ + * $Id: printtup.h,v 1.10 1999/05/25 22:42:32 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -18,13 +18,13 @@ extern DestReceiver *printtup_create_DR(void); extern void showatts(char *name, TupleDesc attinfo); extern void debugtup(HeapTuple tuple, TupleDesc typeinfo, - DestReceiver * self); + DestReceiver *self); extern void printtup_internal(HeapTuple tuple, TupleDesc typeinfo, - DestReceiver * self); + DestReceiver *self); /* XXX this one is really in executor/spi.c */ extern void spi_printtup(HeapTuple tuple, TupleDesc tupdesc, - DestReceiver * self); + DestReceiver *self); extern int getTypeOutAndElem(Oid type, Oid *typOutput, Oid *typElem); diff --git a/src/include/access/strat.h b/src/include/access/strat.h index 94069535c32..b1e58f08dbe 100644 --- a/src/include/access/strat.h +++ b/src/include/access/strat.h @@ -7,7 +7,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: strat.h,v 1.14 1999/05/25 22:04:56 momjian Exp $ + * $Id: strat.h,v 1.15 1999/05/25 22:42:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -33,6 +33,7 @@ typedef struct StrategyTransformMapData * * * + * * STRUCTURE */ typedef StrategyTransformMapData *StrategyTransformMap; diff --git a/src/include/access/transam.h b/src/include/access/transam.h index 221a7456f92..23fc2b59f0b 100644 --- a/src/include/access/transam.h +++ b/src/include/access/transam.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: transam.h,v 1.20 1999/05/25 16:13:35 momjian Exp $ + * $Id: transam.h,v 1.21 1999/05/25 22:42:35 momjian Exp $ * * NOTES * Transaction System Version 101 now support proper oid @@ -128,7 +128,7 @@ typedef struct VariableCacheData TransactionId nextXid; uint32 oid_count; /* not implemented, yet */ Oid nextOid; -} VariableCacheData; +} VariableCacheData; typedef VariableCacheData *VariableCache; diff --git a/src/include/access/tupdesc.h b/src/include/access/tupdesc.h index 450529560a8..f338723d5f1 100644 --- a/src/include/access/tupdesc.h +++ b/src/include/access/tupdesc.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: tupdesc.h,v 1.21 1999/02/13 23:20:59 momjian Exp $ + * $Id: tupdesc.h,v 1.22 1999/05/25 22:42:36 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -57,7 +57,7 @@ typedef struct tupleDesc extern TupleDesc CreateTemplateTupleDesc(int natts); -extern TupleDesc CreateTupleDesc(int natts, Form_pg_attribute * attrs); +extern TupleDesc CreateTupleDesc(int natts, Form_pg_attribute *attrs); extern TupleDesc CreateTupleDescCopy(TupleDesc tupdesc); diff --git a/src/include/commands/command.h b/src/include/commands/command.h index 68bdd93e15a..207ee4da429 100644 --- a/src/include/commands/command.h +++ b/src/include/commands/command.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: command.h,v 1.13 1999/05/25 16:13:49 momjian Exp $ + * $Id: command.h,v 1.14 1999/05/25 22:42:41 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -44,6 +44,6 @@ extern void PortalCleanup(Portal portal); extern void PerformAddAttribute(char *relationName, char *userName, bool inh, ColumnDef *colDef); -extern void LockTableCommand(LockStmt * lockstmt); +extern void LockTableCommand(LockStmt *lockstmt); #endif /* COMMAND_H */ diff --git a/src/include/commands/vacuum.h b/src/include/commands/vacuum.h index 8efe1ba3864..f9461885670 100644 --- a/src/include/commands/vacuum.h +++ b/src/include/commands/vacuum.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: vacuum.h,v 1.19 1999/05/25 16:13:50 momjian Exp $ + * $Id: vacuum.h,v 1.20 1999/05/25 22:42:43 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -99,7 +99,7 @@ typedef struct VTupleLinkData { ItemPointerData new_tid; ItemPointerData this_tid; -} VTupleLinkData; +} VTupleLinkData; typedef VTupleLinkData *VTupleLink; @@ -108,7 +108,7 @@ typedef struct VTupleMoveData ItemPointerData tid; /* tuple ID */ VPageDescr vpd; /* where to move */ bool cleanVpd; /* clean vpd before using */ -} VTupleMoveData; +} VTupleMoveData; typedef VTupleMoveData *VTupleMove; diff --git a/src/include/executor/hashjoin.h b/src/include/executor/hashjoin.h index 493210ba012..e98c99d99fb 100644 --- a/src/include/executor/hashjoin.h +++ b/src/include/executor/hashjoin.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: hashjoin.h,v 1.12 1999/05/25 16:13:54 momjian Exp $ + * $Id: hashjoin.h,v 1.13 1999/05/25 22:42:45 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -44,7 +44,7 @@ typedef struct HashJoinTupleData struct HashJoinTupleData *next; /* link to next tuple in same * bucket */ HeapTupleData htup; /* tuple header */ -} HashJoinTupleData; +} HashJoinTupleData; typedef HashJoinTupleData *HashJoinTuple; diff --git a/src/include/executor/nodeHashjoin.h b/src/include/executor/nodeHashjoin.h index a6fff84b682..336e9b4d1f6 100644 --- a/src/include/executor/nodeHashjoin.h +++ b/src/include/executor/nodeHashjoin.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: nodeHashjoin.h,v 1.13 1999/05/25 16:13:56 momjian Exp $ + * $Id: nodeHashjoin.h,v 1.14 1999/05/25 22:42:46 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -21,7 +21,7 @@ extern TupleTableSlot *ExecHashJoin(HashJoin *node); extern bool ExecInitHashJoin(HashJoin *node, EState *estate, Plan *parent); extern int ExecCountSlotsHashJoin(HashJoin *node); extern void ExecEndHashJoin(HashJoin *node); -extern void ExecHashJoinSaveTuple(HeapTuple heapTuple, BufFile * file); +extern void ExecHashJoinSaveTuple(HeapTuple heapTuple, BufFile *file); extern void ExecReScanHashJoin(HashJoin *node, ExprContext *exprCtxt, Plan *parent); #endif /* NODEHASHJOIN_H */ diff --git a/src/include/libpq/libpq.h b/src/include/libpq/libpq.h index cd9f1ccde62..e8fb31b10ff 100644 --- a/src/include/libpq/libpq.h +++ b/src/include/libpq/libpq.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: libpq.h,v 1.29 1999/05/25 16:14:00 momjian Exp $ + * $Id: libpq.h,v 1.30 1999/05/25 22:42:50 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -220,7 +220,7 @@ extern PortalEntry *be_newportal(void); extern void be_typeinit(PortalEntry *entry, TupleDesc attrs, int natts); extern void be_printtup(HeapTuple tuple, TupleDesc typeinfo, - DestReceiver * self); + DestReceiver *self); /* in be-pqexec.c */ diff --git a/src/include/libpq/pqcomm.h b/src/include/libpq/pqcomm.h index 12024b720f4..1b37c064a4f 100644 --- a/src/include/libpq/pqcomm.h +++ b/src/include/libpq/pqcomm.h @@ -8,7 +8,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pqcomm.h,v 1.35 1999/05/03 19:10:24 momjian Exp $ + * $Id: pqcomm.h,v 1.36 1999/05/25 22:42:51 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -156,6 +156,6 @@ typedef struct CancelRequestPacket * request */ uint32 backendPID; /* PID of client's backend */ uint32 cancelAuthCode; /* secret key to authorize cancel */ -} CancelRequestPacket; +} CancelRequestPacket; #endif /* PQCOMM_H */ diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index 134fa3e833f..21114d2455d 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: execnodes.h,v 1.29 1999/05/25 16:14:07 momjian Exp $ + * $Id: execnodes.h,v 1.30 1999/05/25 22:42:54 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -698,7 +698,7 @@ typedef struct TeeState MemoryContext tee_mcxt; HeapScanDesc tee_leftScanDesc, tee_rightScanDesc; -} TeeState; +} TeeState; #endif diff --git a/src/include/nodes/memnodes.h b/src/include/nodes/memnodes.h index 7259cb1b0f7..76f99204c20 100644 --- a/src/include/nodes/memnodes.h +++ b/src/include/nodes/memnodes.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: memnodes.h,v 1.12 1999/05/25 16:14:09 momjian Exp $ + * $Id: memnodes.h,v 1.13 1999/05/25 22:42:55 momjian Exp $ * * XXX the typedefs in this file are different from the other ???nodes.h; * they are pointers to structures instead of the structures themselves. @@ -60,7 +60,7 @@ typedef struct MemoryContextData { NodeTag type; MemoryContextMethods method; -} MemoryContextData; +} MemoryContextData; /* utils/mcxt.h contains typedef struct MemoryContextData *MemoryContext */ @@ -73,7 +73,7 @@ typedef struct GlobalMemoryData AllocSetData setData; char *name; OrderedElemData elemData; -} GlobalMemoryData; +} GlobalMemoryData; /* utils/mcxt.h contains typedef struct GlobalMemoryData *GlobalMemory */ diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 441ffd9b01c..c427e2a8a71 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: parsenodes.h,v 1.73 1999/05/25 16:14:09 momjian Exp $ + * $Id: parsenodes.h,v 1.74 1999/05/25 22:42:57 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -457,7 +457,7 @@ typedef struct UnlistenStmt { NodeTag type; char *relname; /* relation to unlisten on */ -} UnlistenStmt; +} UnlistenStmt; /* ---------------------- * {Begin|Abort|End} Transaction Statement @@ -590,7 +590,7 @@ typedef struct LockStmt NodeTag type; char *relname; /* relation to lock */ int mode; /* lock mode */ -} LockStmt; +} LockStmt; /***************************************************************************** * Optimizable Statements @@ -748,7 +748,7 @@ typedef struct CaseExpr Node *arg; /* implicit equality comparison argument */ List *args; /* the arguments (list of WHEN clauses) */ Node *defresult; /* the default result (ELSE clause) */ -} CaseExpr; +} CaseExpr; /* * CaseWhen - an argument to a CASE expression @@ -758,7 +758,7 @@ typedef struct CaseWhen NodeTag type; Node *expr; /* comparison expression */ Node *result; /* substitution result */ -} CaseWhen; +} CaseWhen; /* * ColumnDef - column definition (used in various creates) @@ -896,7 +896,7 @@ typedef struct JoinExpr RangeVar *larg; Node *rarg; List *quals; -} JoinExpr; +} JoinExpr; /**************************************************************************** @@ -972,6 +972,6 @@ typedef struct RowMark NodeTag type; Index rti; /* index in Query->rtable */ bits8 info; /* as above */ -} RowMark; +} RowMark; #endif /* PARSENODES_H */ diff --git a/src/include/nodes/plannodes.h b/src/include/nodes/plannodes.h index ffa45b0bfe9..5c94d02932b 100644 --- a/src/include/nodes/plannodes.h +++ b/src/include/nodes/plannodes.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: plannodes.h,v 1.26 1999/05/25 16:14:10 momjian Exp $ + * $Id: plannodes.h,v 1.27 1999/05/25 22:42:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -264,7 +264,7 @@ typedef struct Noname Plan plan; Oid nonameid; int keycount; -} Noname; +} Noname; /* ---------------- * materialization node @@ -338,7 +338,7 @@ typedef struct Tee List *rtentries; /* the range table for the plan below the * Tee may be different than the parent * plans */ -} Tee; +} Tee; #endif diff --git a/src/include/nodes/primnodes.h b/src/include/nodes/primnodes.h index 8028e07a94c..3b0cadfcdcd 100644 --- a/src/include/nodes/primnodes.h +++ b/src/include/nodes/primnodes.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: primnodes.h,v 1.28 1999/05/25 16:14:11 momjian Exp $ + * $Id: primnodes.h,v 1.29 1999/05/25 22:42:59 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -273,7 +273,7 @@ typedef struct Aggref Node *target; int aggno; bool usenulls; -} Aggref; +} Aggref; /* ---------------- * SubLink diff --git a/src/include/nodes/relation.h b/src/include/nodes/relation.h index 4f45a6cafcc..5f629dd0e63 100644 --- a/src/include/nodes/relation.h +++ b/src/include/nodes/relation.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: relation.h,v 1.31 1999/05/25 16:14:12 momjian Exp $ + * $Id: relation.h,v 1.32 1999/05/25 22:43:01 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -100,7 +100,7 @@ typedef struct RelOptInfo List *restrictinfo; /* RestrictInfo structures */ List *joininfo; /* JoinInfo structures */ List *innerjoin; -} RelOptInfo; +} RelOptInfo; extern Var *get_expr(TargetEntry *foo); extern Var *get_groupclause_expr(GroupClause *groupClause, List *targetList); @@ -167,7 +167,7 @@ typedef struct NestPath List *pathinfo; Path *outerjoinpath; Path *innerjoinpath; -} NestPath; +} NestPath; typedef NestPath JoinPath; @@ -223,7 +223,7 @@ typedef struct RestrictInfo /* hashjoin only */ Oid hashjoinoperator; Relids restrictinfojoinid; -} RestrictInfo; +} RestrictInfo; typedef struct JoinMethod { @@ -236,13 +236,13 @@ typedef struct HashInfo { JoinMethod jmethod; Oid hashop; -} HashInfo; +} HashInfo; typedef struct MergeInfo { JoinMethod jmethod; MergeOrder *m_ordering; -} MergeInfo; +} MergeInfo; typedef struct JoinInfo { @@ -251,7 +251,7 @@ typedef struct JoinInfo List *jinfo_restrictinfo; bool mergejoinable; bool hashjoinable; -} JoinInfo; +} JoinInfo; typedef struct Iter { diff --git a/src/include/optimizer/clauses.h b/src/include/optimizer/clauses.h index 5766e8933e0..78605c20c96 100644 --- a/src/include/optimizer/clauses.h +++ b/src/include/optimizer/clauses.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: clauses.h,v 1.17 1999/05/25 16:14:15 momjian Exp $ + * $Id: clauses.h,v 1.18 1999/05/25 22:43:03 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -38,7 +38,7 @@ extern Expr *make_andclause(List *andclauses); extern bool case_clause(Node *clause); extern List *pull_constant_clauses(List *quals, List **constantQual); -extern void clause_get_relids_vars(Node *clause, Relids * relids, List **vars); +extern void clause_get_relids_vars(Node *clause, Relids *relids, List **vars); extern int NumRelids(Node *clause); extern bool contains_not(Node *clause); extern bool is_joinable(Node *clause); diff --git a/src/include/optimizer/cost.h b/src/include/optimizer/cost.h index 5146900e4d7..e7f8452f246 100644 --- a/src/include/optimizer/cost.h +++ b/src/include/optimizer/cost.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: cost.h,v 1.19 1999/05/25 16:14:16 momjian Exp $ + * $Id: cost.h,v 1.20 1999/05/25 22:43:04 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -43,8 +43,8 @@ extern Cost cost_mergejoin(Cost outercost, Cost innercost, extern Cost cost_hashjoin(Cost outercost, Cost innercost, List *outerkeys, List *innerkeys, int outersize, int innersize, int outerwidth, int innerwidth); -extern int compute_rel_size(RelOptInfo * rel); -extern int compute_rel_width(RelOptInfo * rel); +extern int compute_rel_size(RelOptInfo *rel); +extern int compute_rel_width(RelOptInfo *rel); extern int compute_joinrel_size(JoinPath *joinpath); extern int page_size(int tuples, int width); diff --git a/src/include/optimizer/geqo.h b/src/include/optimizer/geqo.h index c2eba475035..f02510e21e9 100644 --- a/src/include/optimizer/geqo.h +++ b/src/include/optimizer/geqo.h @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: geqo.h,v 1.15 1999/05/25 16:14:16 momjian Exp $ + * $Id: geqo.h,v 1.16 1999/05/25 22:43:05 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -72,6 +72,6 @@ extern void geqo_params(int string_length); extern void geqo_eval_startup(void); extern Cost geqo_eval(Query *root, Gene *tour, int num_gene); extern RelOptInfo *gimme_tree(Query *root, Gene *tour, int rel_count, - int num_gene, RelOptInfo * old_rel); + int num_gene, RelOptInfo *old_rel); #endif /* GEQO_H */ diff --git a/src/include/optimizer/geqo_misc.h b/src/include/optimizer/geqo_misc.h index 1e610ba8d08..9fadc318d44 100644 --- a/src/include/optimizer/geqo_misc.h +++ b/src/include/optimizer/geqo_misc.h @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: geqo_misc.h,v 1.10 1999/05/25 16:14:17 momjian Exp $ + * $Id: geqo_misc.h,v 1.11 1999/05/25 22:43:07 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -31,7 +31,7 @@ extern void print_pool(FILE *fp, Pool *pool, int start, int stop); extern void print_gen(FILE *fp, Pool *pool, int generation); extern void print_edge_table(FILE *fp, Edge *edge_table, int num_gene); -extern void geqo_print_rel(Query *root, RelOptInfo * rel); +extern void geqo_print_rel(Query *root, RelOptInfo *rel); extern void geqo_print_path(Query *root, Path *path, int indent); extern void geqo_print_joinclauses(Query *root, List *clauses); diff --git a/src/include/optimizer/joininfo.h b/src/include/optimizer/joininfo.h index 2b4e214e24e..3a4451dd356 100644 --- a/src/include/optimizer/joininfo.h +++ b/src/include/optimizer/joininfo.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: joininfo.h,v 1.11 1999/05/25 16:14:19 momjian Exp $ + * $Id: joininfo.h,v 1.12 1999/05/25 22:43:08 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -18,7 +18,7 @@ #include "nodes/primnodes.h" extern JoinInfo *joininfo_member(List *join_relids, List *joininfo_list); -extern JoinInfo *find_joininfo_node(RelOptInfo * this_rel, List *join_relids); +extern JoinInfo *find_joininfo_node(RelOptInfo *this_rel, List *join_relids); extern Var *other_join_clause_var(Var *var, Expr *clause); #endif /* JOININFO_H */ diff --git a/src/include/optimizer/keys.h b/src/include/optimizer/keys.h index cccdb7bfbbb..423b8e42161 100644 --- a/src/include/optimizer/keys.h +++ b/src/include/optimizer/keys.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: keys.h,v 1.14 1999/05/25 16:14:19 momjian Exp $ + * $Id: keys.h,v 1.15 1999/05/25 22:43:09 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -16,7 +16,7 @@ #include "nodes/nodes.h" #include "nodes/relation.h" -extern bool match_indexkey_operand(int indexkey, Var *operand, RelOptInfo * rel); +extern bool match_indexkey_operand(int indexkey, Var *operand, RelOptInfo *rel); extern Var *extract_join_key(JoinKey *jk, int outer_or_inner); extern bool pathkeys_match(List *keys1, List *keys2, int *better_key); extern List *collect_index_pathkeys(int *index_keys, List *tlist); diff --git a/src/include/optimizer/pathnode.h b/src/include/optimizer/pathnode.h index 2a864d591a5..d7019fc4461 100644 --- a/src/include/optimizer/pathnode.h +++ b/src/include/optimizer/pathnode.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pathnode.h,v 1.16 1999/05/25 16:14:20 momjian Exp $ + * $Id: pathnode.h,v 1.17 1999/05/25 22:43:10 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -21,20 +21,20 @@ * prototypes for pathnode.c */ extern bool path_is_cheaper(Path *path1, Path *path2); -extern Path *set_cheapest(RelOptInfo * parent_rel, List *pathlist); -extern List *add_pathlist(RelOptInfo * parent_rel, List *unique_paths, +extern Path *set_cheapest(RelOptInfo *parent_rel, List *pathlist); +extern List *add_pathlist(RelOptInfo *parent_rel, List *unique_paths, List *new_paths); -extern Path *create_seqscan_path(RelOptInfo * rel); -extern IndexPath *create_index_path(Query *root, RelOptInfo * rel, RelOptInfo * index, +extern Path *create_seqscan_path(RelOptInfo *rel); +extern IndexPath *create_index_path(Query *root, RelOptInfo *rel, RelOptInfo *index, List *restriction_clauses, bool is_join_scan); -extern NestPath *create_nestloop_path(RelOptInfo * joinrel, RelOptInfo * outer_rel, +extern NestPath *create_nestloop_path(RelOptInfo *joinrel, RelOptInfo *outer_rel, Path *outer_path, Path *inner_path, List *pathkeys); -extern MergePath *create_mergejoin_path(RelOptInfo * joinrel, int outersize, +extern MergePath *create_mergejoin_path(RelOptInfo *joinrel, int outersize, int innersize, int outerwidth, int innerwidth, Path *outer_path, Path *inner_path, List *pathkeys, MergeOrder *order, List *mergeclauses, List *outersortkeys, List *innersortkeys); -extern HashPath *create_hashjoin_path(RelOptInfo * joinrel, int outersize, +extern HashPath *create_hashjoin_path(RelOptInfo *joinrel, int outersize, int innersize, int outerwidth, int innerwidth, Path *outer_path, Path *inner_path, List *pathkeys, Oid operator, List *hashclauses, List *outerkeys, List *innerkeys); @@ -49,6 +49,6 @@ extern RelOptInfo *get_join_rel(Query *root, Relids relid); /* * prototypes for indexnode.h */ -extern List *find_relation_indices(Query *root, RelOptInfo * rel); +extern List *find_relation_indices(Query *root, RelOptInfo *rel); #endif /* PATHNODE_H */ diff --git a/src/include/optimizer/paths.h b/src/include/optimizer/paths.h index 1a92130e860..203a988327e 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.28 1999/05/25 16:14:21 momjian Exp $ + * $Id: paths.h,v 1.29 1999/05/25 22:43:11 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -27,7 +27,7 @@ extern RelOptInfo *make_one_rel(Query *root, List *rels); * indxpath.h * routines to generate index paths */ -extern List *create_index_paths(Query *root, RelOptInfo * rel, List *indices, +extern List *create_index_paths(Query *root, RelOptInfo *rel, List *indices, List *restrictinfo_list, List *joininfo_list); @@ -41,7 +41,7 @@ extern void update_rels_pathlist_for_joins(Query *root, List *joinrels); /* * orindxpath.h */ -extern List *create_or_index_paths(Query *root, RelOptInfo * rel, List *clauses); +extern List *create_or_index_paths(Query *root, RelOptInfo *rel, List *clauses); /* * hashutils.h @@ -79,11 +79,11 @@ extern MergeInfo *match_order_mergeinfo(PathOrder *ordering, * routines to determine which relations to join */ extern List *make_rels_by_joins(Query *root, List *old_rels); -extern List *make_rels_by_clause_joins(Query *root, RelOptInfo * old_rel, +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, +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 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/restrictinfo.h b/src/include/optimizer/restrictinfo.h index 9b1346c31d0..0d1e741bc21 100644 --- a/src/include/optimizer/restrictinfo.h +++ b/src/include/optimizer/restrictinfo.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: restrictinfo.h,v 1.3 1999/05/25 16:14:22 momjian Exp $ + * $Id: restrictinfo.h,v 1.4 1999/05/25 22:43:12 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -16,7 +16,7 @@ #include "nodes/pg_list.h" #include "nodes/relation.h" -extern bool valid_or_clause(RestrictInfo * restrictinfo); +extern bool valid_or_clause(RestrictInfo *restrictinfo); extern List *get_actual_clauses(List *restrictinfo_list); extern void get_relattvals(List *restrictinfo_list, List **attnos, List **values, List **flags); diff --git a/src/include/optimizer/tlist.h b/src/include/optimizer/tlist.h index b4d3d212562..de57eb59ddb 100644 --- a/src/include/optimizer/tlist.h +++ b/src/include/optimizer/tlist.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: tlist.h,v 1.17 1999/05/25 16:14:23 momjian Exp $ + * $Id: tlist.h,v 1.18 1999/05/25 22:43:13 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -19,7 +19,7 @@ extern TargetEntry *tlistentry_member(Var *var, List *targetlist); extern Expr *matching_tlist_var(Var *var, List *targetlist); -extern void add_var_to_tlist(RelOptInfo * rel, Var *var); +extern void add_var_to_tlist(RelOptInfo *rel, Var *var); extern TargetEntry *create_tl_element(Var *var, int resdomno); extern List *get_actual_tlist(List *tlist); extern Resdom *tlist_member(Var *var, List *tlist); diff --git a/src/include/optimizer/xfunc.h b/src/include/optimizer/xfunc.h index 7c5082746c6..41414dba4df 100644 --- a/src/include/optimizer/xfunc.h +++ b/src/include/optimizer/xfunc.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: xfunc.h,v 1.17 1999/05/25 16:14:23 momjian Exp $ + * $Id: xfunc.h,v 1.18 1999/05/25 22:43:14 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -49,10 +49,10 @@ extern int XfuncMode; /* defined in tcop/postgres.c */ #define is_join(pathnode) (length(get_relids(get_parent(pathnode))) > 1 ? 1 : 0) /* function prototypes from planner/path/xfunc.c */ -extern void xfunc_trypullup(RelOptInfo * rel); +extern void xfunc_trypullup(RelOptInfo *rel); extern int xfunc_shouldpull(Path *childpath, JoinPath *parentpath, - int whichchild, RestrictInfo * maxcinfopt); -extern RestrictInfo *xfunc_pullup(Path *childpath, JoinPath *parentpath, RestrictInfo * cinfo, + int whichchild, RestrictInfo *maxcinfopt); +extern RestrictInfo *xfunc_pullup(Path *childpath, JoinPath *parentpath, RestrictInfo *cinfo, int whichchild, int clausetype); extern Cost xfunc_rank(Expr *clause); extern Cost xfunc_expense(Query *queryInfo, Expr *clause); @@ -69,7 +69,7 @@ extern List *xfunc_primary_join(JoinPath *pathnode); extern Cost xfunc_get_path_cost(Path *pathnode); extern Cost xfunc_total_path_cost(JoinPath *pathnode); extern Cost xfunc_expense_per_tuple(JoinPath *joinnode, int whichchild); -extern void xfunc_fixvars(Expr *clause, RelOptInfo * rel, int varno); +extern void xfunc_fixvars(Expr *clause, RelOptInfo *rel, int varno); extern int xfunc_cinfo_compare(void *arg1, void *arg2); extern int xfunc_clause_compare(void *arg1, void *arg2); extern void xfunc_disjunct_sort(List *clause_list); @@ -78,7 +78,7 @@ extern int xfunc_func_width(RegProcedure funcid, List *args); extern int xfunc_tuple_width(Relation rd); extern int xfunc_num_join_clauses(JoinPath *path); extern List *xfunc_LispRemove(List *foo, List *bar); -extern bool xfunc_copyrel(RelOptInfo * from, RelOptInfo ** to); +extern bool xfunc_copyrel(RelOptInfo *from, RelOptInfo **to); /* * function prototypes for path/predmig.c diff --git a/src/include/parser/parse_agg.h b/src/include/parser/parse_agg.h index 125b1109772..0801592882b 100644 --- a/src/include/parser/parse_agg.h +++ b/src/include/parser/parse_agg.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: parse_agg.h,v 1.9 1999/05/25 16:14:26 momjian Exp $ + * $Id: parse_agg.h,v 1.10 1999/05/25 22:43:16 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -18,7 +18,7 @@ #include <nodes/primnodes.h> #include <parser/parse_node.h> -extern void AddAggToParseState(ParseState *pstate, Aggref * aggref); +extern void AddAggToParseState(ParseState *pstate, Aggref *aggref); extern void parseCheckAggregates(ParseState *pstate, Query *qry); extern Aggref *ParseAgg(ParseState *pstate, char *aggname, Oid basetype, List *target, int precedence); diff --git a/src/include/parser/parse_coerce.h b/src/include/parser/parse_coerce.h index 2a664ed8c12..6b634f13d9a 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.11 1999/05/25 16:14:26 momjian Exp $ + * $Id: parse_coerce.h,v 1.12 1999/05/25 22:43:17 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -26,7 +26,7 @@ typedef enum CATEGORY NETWORK_TYPE, USER_TYPE, MIXED_TYPE -} CATEGORY; +} CATEGORY; /* IS_BUILTIN_TYPE() diff --git a/src/include/storage/fd.h b/src/include/storage/fd.h index 0493b3ccc7b..94db91af02b 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.14 1999/05/25 16:14:41 momjian Exp $ + * $Id: fd.h,v 1.15 1999/05/25 22:43:24 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -91,11 +91,11 @@ extern void FreeFile(FILE *); * atop virtual Files... */ 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); +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 */ extern int FileNameUnlink(char *filename); diff --git a/src/include/storage/lmgr.h b/src/include/storage/lmgr.h index 3af0071d468..6027785fabf 100644 --- a/src/include/storage/lmgr.h +++ b/src/include/storage/lmgr.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: lmgr.h,v 1.19 1999/05/07 01:23:05 vadim Exp $ + * $Id: lmgr.h,v 1.20 1999/05/25 22:43:26 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -32,7 +32,7 @@ typedef struct LockRelId { Oid relId; /* a relation identifier */ Oid dbId; /* a database identifier */ -} LockRelId; +} LockRelId; typedef struct LockInfoData { diff --git a/src/include/storage/lock.h b/src/include/storage/lock.h index 744ff537c0a..20fbdff9090 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.27 1999/05/25 16:14:42 momjian Exp $ + * $Id: lock.h,v 1.28 1999/05/25 22:43:26 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -100,7 +100,7 @@ typedef struct LOCKMETHODCTL int conflictTab[MAX_LOCKMODES]; int prio[MAX_LOCKMODES]; SPINLOCK masterLock; -} LOCKMETHODCTL; +} LOCKMETHODCTL; /* * lockHash -- hash table on lock Ids, @@ -113,7 +113,7 @@ typedef struct LOCKMETHODTABLE HTAB *lockHash; HTAB *xidHash; LOCKMETHODCTL *ctl; -} LOCKMETHODTABLE; +} LOCKMETHODTABLE; /* ----------------------- * A transaction never conflicts with its own locks. Hence, if diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index 0caef8fa90c..f62106e1ce2 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: proc.h,v 1.23 1999/05/25 16:14:45 momjian Exp $ + * $Id: proc.h,v 1.24 1999/05/25 22:43:27 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -119,7 +119,7 @@ extern bool ProcRemove(int pid); /* make static in storage/lmgr/proc.c -- jolly */ extern void ProcQueueInit(PROC_QUEUE *queue); -extern int ProcSleep(PROC_QUEUE *queue, LOCKMETHODCTL * lockctl, int token, +extern int ProcSleep(PROC_QUEUE *queue, LOCKMETHODCTL *lockctl, int token, LOCK *lock); extern PROC *ProcWakeup(PROC *proc, int errType); extern int ProcLockWakeup(PROC_QUEUE *queue, LOCKMETHOD lockmethod, diff --git a/src/include/storage/shmem.h b/src/include/storage/shmem.h index e39e3e3bd7b..66365b4a9a7 100644 --- a/src/include/storage/shmem.h +++ b/src/include/storage/shmem.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: shmem.h,v 1.17 1999/05/25 16:14:45 momjian Exp $ + * $Id: shmem.h,v 1.18 1999/05/25 22:43:27 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -90,7 +90,7 @@ typedef struct char key[SHMEM_INDEX_KEYSIZE]; /* string name */ unsigned long location; /* location in shared mem */ unsigned long size; /* numbytes allocated for the structure */ -} ShmemIndexEnt; +} ShmemIndexEnt; /* * prototypes for functions in shmqueue.c diff --git a/src/include/tcop/dest.h b/src/include/tcop/dest.h index dd5e447bccb..f46f9b32484 100644 --- a/src/include/tcop/dest.h +++ b/src/include/tcop/dest.h @@ -44,7 +44,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: dest.h,v 1.19 1999/05/25 16:14:47 momjian Exp $ + * $Id: dest.h,v 1.20 1999/05/25 22:43:29 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -82,10 +82,10 @@ struct _DestReceiver { /* Called for each tuple to be output: */ void (*receiveTuple) (HeapTuple tuple, TupleDesc typeinfo, - DestReceiver * self); + DestReceiver *self); /* Initialization and teardown: */ - void (*setup) (DestReceiver * self, TupleDesc typeinfo); - void (*cleanup) (DestReceiver * self); + void (*setup) (DestReceiver *self, TupleDesc typeinfo); + void (*cleanup) (DestReceiver *self); /* Private fields might appear beyond this point... */ }; diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 0fe0487b474..1d434bf3f28 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.79 1999/05/25 16:14:52 momjian Exp $ + * $Id: builtins.h,v 1.80 1999/05/25 22:43:31 momjian Exp $ * * NOTES * This should normally only be included by fmgr.h. @@ -164,7 +164,7 @@ extern void ltoa(int32 l, char *a); */ extern int32 btint2cmp(int16 a, int16 b); extern int32 btint4cmp(int32 a, int32 b); -extern int32 btint8cmp(int64 * a, int64 * b); +extern int32 btint8cmp(int64 *a, int64 *b); extern int32 btint24cmp(int16 a, int32 b); extern int32 btint42cmp(int32 a, int16 b); extern int32 btfloat4cmp(float32 a, float32 b); diff --git a/src/include/utils/inet.h b/src/include/utils/inet.h index 252d1dd1053..9d0c69b0f9b 100644 --- a/src/include/utils/inet.h +++ b/src/include/utils/inet.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: inet.h,v 1.4 1999/05/25 16:14:54 momjian Exp $ + * $Id: inet.h,v 1.5 1999/05/25 22:43:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -27,7 +27,7 @@ typedef struct unsigned int ipv4_addr; /* network byte order */ /* add IPV6 address type here */ } addr; -} inet_struct; +} inet_struct; typedef struct varlena inet; @@ -51,7 +51,7 @@ typedef struct manufacturer unsigned char b; unsigned char c; char *name; -} manufacturer; +} manufacturer; extern manufacturer manufacturers[]; diff --git a/src/include/utils/int8.h b/src/include/utils/int8.h index 6a1f134bbf6..3412cabd2e7 100644 --- a/src/include/utils/int8.h +++ b/src/include/utils/int8.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: int8.h,v 1.13 1999/05/25 16:14:55 momjian Exp $ + * $Id: int8.h,v 1.14 1999/05/25 22:43:35 momjian Exp $ * * NOTES * These data types are supported on all 64-bit architectures, and may @@ -47,60 +47,60 @@ typedef long int int64; extern int64 *int8in(char *str); -extern char *int8out(int64 * val); - -extern bool int8eq(int64 * val1, int64 * val2); -extern bool int8ne(int64 * val1, int64 * val2); -extern bool int8lt(int64 * val1, int64 * val2); -extern bool int8gt(int64 * val1, int64 * val2); -extern bool int8le(int64 * val1, int64 * val2); -extern bool int8ge(int64 * val1, int64 * val2); - -extern bool int84eq(int64 * val1, int32 val2); -extern bool int84ne(int64 * val1, int32 val2); -extern bool int84lt(int64 * val1, int32 val2); -extern bool int84gt(int64 * val1, int32 val2); -extern bool int84le(int64 * val1, int32 val2); -extern bool int84ge(int64 * val1, int32 val2); - -extern bool int48eq(int32 val1, int64 * val2); -extern bool int48ne(int32 val1, int64 * val2); -extern bool int48lt(int32 val1, int64 * val2); -extern bool int48gt(int32 val1, int64 * val2); -extern bool int48le(int32 val1, int64 * val2); -extern bool int48ge(int32 val1, int64 * val2); - -extern int64 *int8um(int64 * val); -extern int64 *int8pl(int64 * val1, int64 * val2); -extern int64 *int8mi(int64 * val1, int64 * val2); -extern int64 *int8mul(int64 * val1, int64 * val2); -extern int64 *int8div(int64 * val1, int64 * val2); -extern int64 *int8larger(int64 * val1, int64 * val2); -extern int64 *int8smaller(int64 * val1, int64 * val2); - -extern int64 *int84pl(int64 * val1, int32 val2); -extern int64 *int84mi(int64 * val1, int32 val2); -extern int64 *int84mul(int64 * val1, int32 val2); -extern int64 *int84div(int64 * val1, int32 val2); - -extern int64 *int48pl(int32 val1, int64 * val2); -extern int64 *int48mi(int32 val1, int64 * val2); -extern int64 *int48mul(int32 val1, int64 * val2); -extern int64 *int48div(int32 val1, int64 * val2); +extern char *int8out(int64 *val); + +extern bool int8eq(int64 *val1, int64 *val2); +extern bool int8ne(int64 *val1, int64 *val2); +extern bool int8lt(int64 *val1, int64 *val2); +extern bool int8gt(int64 *val1, int64 *val2); +extern bool int8le(int64 *val1, int64 *val2); +extern bool int8ge(int64 *val1, int64 *val2); + +extern bool int84eq(int64 *val1, int32 val2); +extern bool int84ne(int64 *val1, int32 val2); +extern bool int84lt(int64 *val1, int32 val2); +extern bool int84gt(int64 *val1, int32 val2); +extern bool int84le(int64 *val1, int32 val2); +extern bool int84ge(int64 *val1, int32 val2); + +extern bool int48eq(int32 val1, int64 *val2); +extern bool int48ne(int32 val1, int64 *val2); +extern bool int48lt(int32 val1, int64 *val2); +extern bool int48gt(int32 val1, int64 *val2); +extern bool int48le(int32 val1, int64 *val2); +extern bool int48ge(int32 val1, int64 *val2); + +extern int64 *int8um(int64 *val); +extern int64 *int8pl(int64 *val1, int64 *val2); +extern int64 *int8mi(int64 *val1, int64 *val2); +extern int64 *int8mul(int64 *val1, int64 *val2); +extern int64 *int8div(int64 *val1, int64 *val2); +extern int64 *int8larger(int64 *val1, int64 *val2); +extern int64 *int8smaller(int64 *val1, int64 *val2); + +extern int64 *int84pl(int64 *val1, int32 val2); +extern int64 *int84mi(int64 *val1, int32 val2); +extern int64 *int84mul(int64 *val1, int32 val2); +extern int64 *int84div(int64 *val1, int32 val2); + +extern int64 *int48pl(int32 val1, int64 *val2); +extern int64 *int48mi(int32 val1, int64 *val2); +extern int64 *int48mul(int32 val1, int64 *val2); +extern int64 *int48div(int32 val1, int64 *val2); extern int64 *int48(int32 val); -extern int32 int84(int64 * val); +extern int32 int84(int64 *val); #if NOT_USED extern int64 *int28 (int16 val); -extern int16 int82(int64 * val); +extern int16 int82(int64 *val); #endif -extern float64 i8tod(int64 * val); +extern float64 i8tod(int64 *val); extern int64 *dtoi8(float64 val); -extern text *int8_text(int64 * val); +extern text *int8_text(int64 *val); extern int64 *text_int8(text *str); #endif /* INT8_H */ diff --git a/src/include/utils/memutils.h b/src/include/utils/memutils.h index 59f473b910a..26483f06fc8 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.25 1999/05/25 16:14:56 momjian Exp $ + * $Id: memutils.h,v 1.26 1999/05/25 22:43:36 momjian Exp $ * * NOTES * some of the information in this file will be moved to @@ -168,7 +168,7 @@ typedef struct AllocBlockData struct AllocBlockData *next; char *freeptr; char *endptr; -} AllocBlockData; +} AllocBlockData; typedef AllocBlockData *AllocBlock; @@ -182,7 +182,7 @@ typedef struct AllocChunkData void *aset; /* size is always the chunk size */ Size size; -} AllocChunkData; +} AllocChunkData; typedef AllocChunkData *AllocChunk; diff --git a/src/include/utils/numeric.h b/src/include/utils/numeric.h index 888677f71ac..2cbf5f0c723 100644 --- a/src/include/utils/numeric.h +++ b/src/include/utils/numeric.h @@ -5,7 +5,7 @@ * * 1998 Jan Wieck * - * $Header: /cvsroot/pgsql/src/include/utils/numeric.h,v 1.5 1999/05/25 16:14:56 momjian Exp $ + * $Header: /cvsroot/pgsql/src/include/utils/numeric.h,v 1.6 1999/05/25 22:43:37 momjian Exp $ * * ---------- */ @@ -58,7 +58,7 @@ typedef struct NumericData uint16 n_rscale; /* Result scale */ uint16 n_sign_dscale; /* Sign + display scale */ unsigned char n_data[1]; /* Digit data */ -} NumericData; +} NumericData; typedef NumericData *Numeric; #define NUMERIC_HDRSZ (sizeof(int32) + sizeof(uint16) * 3) diff --git a/src/include/utils/tqual.h b/src/include/utils/tqual.h index 1cc67f0ea5b..1bec1aff7b4 100644 --- a/src/include/utils/tqual.h +++ b/src/include/utils/tqual.h @@ -7,7 +7,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: tqual.h,v 1.21 1999/05/25 16:14:58 momjian Exp $ + * $Id: tqual.h,v 1.22 1999/05/25 22:43:39 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -23,7 +23,7 @@ typedef struct SnapshotData uint32 xcnt; /* # of xact below */ TransactionId *xip; /* array of xacts in progress */ ItemPointerData tid; /* required for Dirty snapshot -:( */ -} SnapshotData; +} SnapshotData; typedef SnapshotData *Snapshot; |