diff options
| author | Bruce Momjian | 1997-09-08 02:41:22 +0000 |
|---|---|---|
| committer | Bruce Momjian | 1997-09-08 02:41:22 +0000 |
| commit | 319dbfa7364721d3343af03a7ce063c2a2c9d385 (patch) | |
| tree | a2146fe02c49ce1e497b7c287dfcaa367a703ae4 /src/include/tcop | |
| parent | a90f12fd9d6886da4f0734288496361a304d3882 (diff) | |
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
Diffstat (limited to 'src/include/tcop')
| -rw-r--r-- | src/include/tcop/dest.h | 16 | ||||
| -rw-r--r-- | src/include/tcop/fastpath.h | 4 | ||||
| -rw-r--r-- | src/include/tcop/pquery.h | 4 | ||||
| -rw-r--r-- | src/include/tcop/tcopprot.h | 16 | ||||
| -rw-r--r-- | src/include/tcop/utility.h | 4 | ||||
| -rw-r--r-- | src/include/tcop/variable.h | 12 |
6 files changed, 28 insertions, 28 deletions
diff --git a/src/include/tcop/dest.h b/src/include/tcop/dest.h index aa74fafbfe7..0eeda39c823 100644 --- a/src/include/tcop/dest.h +++ b/src/include/tcop/dest.h @@ -26,7 +26,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: dest.h,v 1.9 1997/09/07 05:01:42 momjian Exp $ + * $Id: dest.h,v 1.10 1997/09/08 02:39:16 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -53,7 +53,7 @@ typedef enum RemoteInternal, /* results sent to frontend process in * internal (binary) form */ SPI /* results sent to SPI manager */ -} CommandDest; +} CommandDest; /* AttrInfo* replaced with TupleDesc, now that TupleDesc also has within it @@ -65,15 +65,15 @@ typedef struct AttrInfo { } AttrInfo; */ -extern void (*DestToFunction(CommandDest dest)) (); -extern void EndCommand(char *commandTag, CommandDest dest); -extern void SendCopyBegin(void); -extern void ReceiveCopyBegin(void); -extern void NullCommand(CommandDest dest); +extern void (*DestToFunction(CommandDest dest)) (); +extern void EndCommand(char *commandTag, CommandDest dest); +extern void SendCopyBegin(void); +extern void ReceiveCopyBegin(void); +extern void NullCommand(CommandDest dest); extern void BeginCommand(char *pname, int operation, TupleDesc attinfo, bool isIntoRel, bool isIntoPortal, char *tag, CommandDest dest); -extern void UpdateCommandInfo(int operation, Oid lastoid, uint32 tuples); +extern void UpdateCommandInfo(int operation, Oid lastoid, uint32 tuples); #endif /* DEST_H */ diff --git a/src/include/tcop/fastpath.h b/src/include/tcop/fastpath.h index 96b5f598eac..68b6e724a3e 100644 --- a/src/include/tcop/fastpath.h +++ b/src/include/tcop/fastpath.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: fastpath.h,v 1.2 1997/09/07 05:01:46 momjian Exp $ + * $Id: fastpath.h,v 1.3 1997/09/08 02:39:18 momjian Exp $ * * NOTES * This information pulled out of tcop/fastpath.c and put @@ -26,6 +26,6 @@ #define VAR_LENGTH_ARG (-5) #define MAX_STRING_LENGTH 256 -extern int HandleFunctionRequest(void); +extern int HandleFunctionRequest(void); #endif /* FASTPATH_H */ diff --git a/src/include/tcop/pquery.h b/src/include/tcop/pquery.h index 9d9117315b8..b4c72305aa6 100644 --- a/src/include/tcop/pquery.h +++ b/src/include/tcop/pquery.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pquery.h,v 1.5 1997/09/07 05:01:49 momjian Exp $ + * $Id: pquery.h,v 1.6 1997/09/08 02:39:19 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -20,7 +20,7 @@ extern QueryDesc *CreateQueryDesc(Query *parsetree, Plan *plantree, CommandDest dest); */ -extern EState *CreateExecutorState(void); +extern EState *CreateExecutorState(void); extern void diff --git a/src/include/tcop/tcopprot.h b/src/include/tcop/tcopprot.h index 07a3cff98d0..86883ab642b 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.5 1997/09/07 05:01:56 momjian Exp $ + * $Id: tcopprot.h,v 1.6 1997/09/08 02:39:20 momjian Exp $ * * OLD COMMENTS * This file was created so that other c files could get the two @@ -22,20 +22,20 @@ #include <parser/parse_query.h> #ifndef BOOTSTRAP_INCLUDE -extern List * +extern List * pg_plan(char *query_string, Oid * typev, int nargs, QueryTreeList ** queryListP, CommandDest dest); -extern void pg_eval(char *query_string, char **argv, Oid * typev, int nargs); +extern void pg_eval(char *query_string, char **argv, Oid * typev, int nargs); extern void pg_eval_dest(char *query_string, char **argv, Oid * typev, int nargs, CommandDest dest); #endif /* BOOTSTRAP_HEADER */ -extern void handle_warn(SIGNAL_ARGS); -extern void die(SIGNAL_ARGS); -extern int PostgresMain(int argc, char *argv[]); -extern void ResetUsage(void); -extern void ShowUsage(void); +extern void handle_warn(SIGNAL_ARGS); +extern void die(SIGNAL_ARGS); +extern int PostgresMain(int argc, char *argv[]); +extern void ResetUsage(void); +extern void ShowUsage(void); #endif /* tcopprotIncluded */ diff --git a/src/include/tcop/utility.h b/src/include/tcop/utility.h index f5242ff4738..6dd5add42c5 100644 --- a/src/include/tcop/utility.h +++ b/src/include/tcop/utility.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: utility.h,v 1.3 1997/09/07 05:01:58 momjian Exp $ + * $Id: utility.h,v 1.4 1997/09/08 02:39:21 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -15,6 +15,6 @@ #include <executor/execdesc.h> -extern void ProcessUtility(Node * parsetree, CommandDest dest); +extern void ProcessUtility(Node * parsetree, CommandDest dest); #endif /* UTILITY_H */ diff --git a/src/include/tcop/variable.h b/src/include/tcop/variable.h index a687d8fed6f..4792cac9656 100644 --- a/src/include/tcop/variable.h +++ b/src/include/tcop/variable.h @@ -2,7 +2,7 @@ * Headers for handling of 'SET var TO', 'SHOW var' and 'RESET var' * statements * - * $Id: variable.h,v 1.5 1997/09/07 05:02:01 momjian Exp $ + * $Id: variable.h,v 1.6 1997/09/08 02:39:21 momjian Exp $ * */ @@ -16,14 +16,14 @@ struct PGVariables { struct { - bool euro; + bool euro; enum DateFormat format; - } date; + } date; }; extern struct PGVariables PGVariables; /*-----------------------------------------------------------------------*/ -bool SetPGVariable(const char *, const char *); -bool GetPGVariable(const char *); -bool ResetPGVariable(const char *); +bool SetPGVariable(const char *, const char *); +bool GetPGVariable(const char *); +bool ResetPGVariable(const char *); |
