diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-09-08 21:56:23 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-09-08 21:56:23 +0000 |
commit | 59f6a57e59fe8353f9edaa3703516ea67e06672b (patch) | |
tree | 1b083fb66cf0be3890480a1ed5fb077dd7293790 /src/backend/executor/functions.c | |
parent | 075cede74858a9a04e97097b1ccd555121516c20 (diff) | |
download | postgresql-59f6a57e59fe8353f9edaa3703516ea67e06672b.tar.gz postgresql-59f6a57e59fe8353f9edaa3703516ea67e06672b.zip |
Used modified version of indent that understands over 100 typedefs.
Diffstat (limited to 'src/backend/executor/functions.c')
-rw-r--r-- | src/backend/executor/functions.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/backend/executor/functions.c b/src/backend/executor/functions.c index 6b10ead6516..500a6eaa99a 100644 --- a/src/backend/executor/functions.c +++ b/src/backend/executor/functions.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/executor/functions.c,v 1.9 1997/09/08 02:22:37 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/executor/functions.c,v 1.10 1997/09/08 21:43:08 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -44,7 +44,7 @@ typedef enum { F_EXEC_START, F_EXEC_RUN, F_EXEC_DONE -} ExecStatus; +} ExecStatus; typedef struct local_es { @@ -52,30 +52,30 @@ typedef struct local_es EState *estate; struct local_es *next; ExecStatus status; -} execution_state; +} execution_state; #define LAST_POSTQUEL_COMMAND(es) ((es)->next == (execution_state *)NULL) /* non-export function prototypes */ -static TupleDesc postquel_start(execution_state * es); +static TupleDesc postquel_start(execution_state *es); static execution_state * init_execution_state(FunctionCachePtr fcache, char *args[]); -static TupleTableSlot *postquel_getnext(execution_state * es); -static void postquel_end(execution_state * es); +static TupleTableSlot *postquel_getnext(execution_state *es); +static void postquel_end(execution_state *es); static void -postquel_sub_params(execution_state * es, int nargs, - char *args[], bool * nullV); +postquel_sub_params(execution_state *es, int nargs, + char *args[], bool *nullV); static Datum -postquel_execute(execution_state * es, FunctionCachePtr fcache, - List * fTlist, char **args, bool * isNull); +postquel_execute(execution_state *es, FunctionCachePtr fcache, + List *fTlist, char **args, bool *isNull); Datum ProjectAttribute(TupleDesc TD, - TargetEntry * tlist, + TargetEntry *tlist, HeapTuple tup, - bool * isnullP) + bool *isnullP) { Datum val, valueP; @@ -172,7 +172,7 @@ init_execution_state(FunctionCachePtr fcache, } static TupleDesc -postquel_start(execution_state * es) +postquel_start(execution_state *es) { #ifdef FUNC_UTIL_PATCH @@ -189,7 +189,7 @@ postquel_start(execution_state * es) } static TupleTableSlot * -postquel_getnext(execution_state * es) +postquel_getnext(execution_state *es) { int feature; @@ -214,7 +214,7 @@ postquel_getnext(execution_state * es) } static void -postquel_end(execution_state * es) +postquel_end(execution_state *es) { #ifdef FUNC_UTIL_PATCH @@ -231,10 +231,10 @@ postquel_end(execution_state * es) } static void -postquel_sub_params(execution_state * es, +postquel_sub_params(execution_state *es, int nargs, char *args[], - bool * nullV) + bool *nullV) { ParamListInfo paramLI; EState *estate; @@ -256,7 +256,7 @@ postquel_sub_params(execution_state * es, static TupleTableSlot * copy_function_result(FunctionCachePtr fcache, - TupleTableSlot * resultSlot) + TupleTableSlot *resultSlot) { TupleTableSlot *funcSlot; TupleDesc resultTd; @@ -299,11 +299,11 @@ copy_function_result(FunctionCachePtr fcache, } static Datum -postquel_execute(execution_state * es, +postquel_execute(execution_state *es, FunctionCachePtr fcache, - List * fTlist, + List *fTlist, char **args, - bool * isNull) + bool *isNull) { TupleTableSlot *slot; Datum value; @@ -398,7 +398,7 @@ postquel_execute(execution_state * es, } Datum -postquel_function(Func * funcNode, char **args, bool * isNull, bool * isDone) +postquel_function(Func *funcNode, char **args, bool *isNull, bool *isDone) { execution_state *es; Datum result = 0; |