summaryrefslogtreecommitdiff
path: root/src/include/executor
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-01-24 22:50:57 +0000
committerBruce Momjian <bruce@momjian.us>1998-01-24 22:50:57 +0000
commit72295139434d26c6da565faee2f50cb6fa900d43 (patch)
treefe3868a4a1f475cc4d7adbc7ab069052b5d67b20 /src/include/executor
parent27317a0d7c267ef356f7620f00769363007fcb3f (diff)
downloadpostgresql-72295139434d26c6da565faee2f50cb6fa900d43.tar.gz
Fix prototypes so they don't look like function definitions.
Diffstat (limited to 'src/include/executor')
-rw-r--r--src/include/executor/execdesc.h5
-rw-r--r--src/include/executor/functions.h8
-rw-r--r--src/include/executor/nodeHash.h11
-rw-r--r--src/include/executor/nodeHashjoin.h5
-rw-r--r--src/include/executor/spi.h3
5 files changed, 12 insertions, 20 deletions
diff --git a/src/include/executor/execdesc.h b/src/include/executor/execdesc.h
index b0c55737b9..503df7a536 100644
--- a/src/include/executor/execdesc.h
+++ b/src/include/executor/execdesc.h
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: execdesc.h,v 1.6 1997/09/08 21:51:50 momjian Exp $
+ * $Id: execdesc.h,v 1.7 1998/01/24 22:48:50 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -33,8 +33,7 @@ typedef struct QueryDesc
} QueryDesc;
/* in pquery.c */
-extern QueryDesc *
-CreateQueryDesc(Query *parsetree, Plan *plantree,
+extern QueryDesc * CreateQueryDesc(Query *parsetree, Plan *plantree,
CommandDest dest);
#endif /* EXECDESC_H */
diff --git a/src/include/executor/functions.h b/src/include/executor/functions.h
index c6ca082971..d54afe99a3 100644
--- a/src/include/executor/functions.h
+++ b/src/include/executor/functions.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: functions.h,v 1.5 1997/11/26 01:12:38 momjian Exp $
+ * $Id: functions.h,v 1.6 1998/01/24 22:48:55 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,12 +18,10 @@
#include "nodes/primnodes.h"
#include "utils/syscache.h"
-extern Datum
-ProjectAttribute(TupleDesc TD, TargetEntry *tlist,
+extern Datum ProjectAttribute(TupleDesc TD, TargetEntry *tlist,
HeapTuple tup, bool *isnullP);
-extern Datum
-postquel_function(Func *funcNode, char **args,
+extern Datum postquel_function(Func *funcNode, char **args,
bool *isNull, bool *isDone);
#endif /* FUNCTIONS_H */
diff --git a/src/include/executor/nodeHash.h b/src/include/executor/nodeHash.h
index eb31c5b0a1..6071eeb874 100644
--- a/src/include/executor/nodeHash.h
+++ b/src/include/executor/nodeHash.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: nodeHash.h,v 1.6 1997/11/26 01:26:13 momjian Exp $
+ * $Id: nodeHash.h,v 1.7 1998/01/24 22:49:01 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -26,15 +26,12 @@ extern bool ExecInitHash(Hash *node, EState *estate, Plan *parent);
extern int ExecCountSlotsHash(Hash *node);
extern void ExecEndHash(Hash *node);
extern HashJoinTable ExecHashTableCreate(Hash *node);
-extern void
-ExecHashTableInsert(HashJoinTable hashtable, ExprContext *econtext,
+extern void ExecHashTableInsert(HashJoinTable hashtable, ExprContext *econtext,
Var *hashkey, File *batches);
extern void ExecHashTableDestroy(HashJoinTable hashtable);
-extern int
-ExecHashGetBucket(HashJoinTable hashtable, ExprContext *econtext,
+extern int ExecHashGetBucket(HashJoinTable hashtable, ExprContext *econtext,
Var *hashkey);
-extern HeapTuple
-ExecScanHashBucket(HashJoinState *hjstate, HashBucket bucket,
+extern HeapTuple ExecScanHashBucket(HashJoinState *hjstate, HashBucket bucket,
HeapTuple curtuple, List *hjclauses,
ExprContext *econtext);
extern void ExecHashTableReset(HashJoinTable hashtable, int ntuples);
diff --git a/src/include/executor/nodeHashjoin.h b/src/include/executor/nodeHashjoin.h
index 3a34a70973..2acbddf038 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.6 1997/11/26 01:12:50 momjian Exp $
+ * $Id: nodeHashjoin.h,v 1.7 1998/01/24 22:49:04 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -21,8 +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 char *
-ExecHashJoinSaveTuple(HeapTuple heapTuple, char *buffer,
+extern char * ExecHashJoinSaveTuple(HeapTuple heapTuple, char *buffer,
File file, char *position);
diff --git a/src/include/executor/spi.h b/src/include/executor/spi.h
index 91986ac8df..ef8b268faa 100644
--- a/src/include/executor/spi.h
+++ b/src/include/executor/spi.h
@@ -78,8 +78,7 @@ extern void *SPI_prepare(char *src, int nargs, Oid * argtypes);
extern void *SPI_saveplan(void *plan);
extern HeapTuple SPI_copytuple(HeapTuple tuple);
-extern HeapTuple
-SPI_modifytuple(Relation rel, HeapTuple tuple, int natts,
+extern HeapTuple SPI_modifytuple(Relation rel, HeapTuple tuple, int natts,
int *attnum, Datum * Values, char *Nulls);
extern int SPI_fnumber(TupleDesc tupdesc, char *fname);
extern char *SPI_fname(TupleDesc tupdesc, int fnumber);