diff options
| author | Bruce Momjian | 1999-05-25 16:15:34 +0000 |
|---|---|---|
| committer | Bruce Momjian | 1999-05-25 16:15:34 +0000 |
| commit | 07842084fe3e11041f83563c851236395f481470 (patch) | |
| tree | ab9960e67325bec5a97b8b4dd4b2075ce60cc420 /src/include/tcop | |
| parent | 4b04b01aaa460f1e52980f24173dc7a4535efd2d (diff) | |
pgindent run over code.
Diffstat (limited to 'src/include/tcop')
| -rw-r--r-- | src/include/tcop/dest.h | 21 | ||||
| -rw-r--r-- | src/include/tcop/tcopprot.h | 10 |
2 files changed, 16 insertions, 15 deletions
diff --git a/src/include/tcop/dest.h b/src/include/tcop/dest.h index 941e913eaae..dd5e447bccb 100644 --- a/src/include/tcop/dest.h +++ b/src/include/tcop/dest.h @@ -33,7 +33,7 @@ * The DestReceiver object returned by DestToFunction may be a statically * allocated object (for destination types that require no local state) * or can be a palloc'd object that has DestReceiver as its first field - * and contains additional fields (see printtup.c for an example). These + * and contains additional fields (see printtup.c for an example). These * additional fields are then accessible to the DestReceiver functions * by casting the DestReceiver* pointer passed to them. * The palloc'd object is pfree'd by the DestReceiver's cleanup function. @@ -44,7 +44,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: dest.h,v 1.18 1999/02/13 23:22:11 momjian Exp $ + * $Id: dest.h,v 1.19 1999/05/25 16:14:47 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -78,22 +78,23 @@ typedef enum */ typedef struct _DestReceiver DestReceiver; -struct _DestReceiver { +struct _DestReceiver +{ /* Called for each tuple to be output: */ - void (*receiveTuple) (HeapTuple tuple, TupleDesc typeinfo, - DestReceiver* self); + void (*receiveTuple) (HeapTuple tuple, TupleDesc typeinfo, + 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... */ }; /* The primary destination management functions */ extern void BeginCommand(char *pname, int operation, TupleDesc attinfo, - bool isIntoRel, bool isIntoPortal, char *tag, - CommandDest dest); -extern DestReceiver* DestToFunction(CommandDest dest); + bool isIntoRel, bool isIntoPortal, char *tag, + CommandDest dest); +extern DestReceiver *DestToFunction(CommandDest dest); extern void EndCommand(char *commandTag, CommandDest dest); /* Additional functions that go with destination management, more or less. */ diff --git a/src/include/tcop/tcopprot.h b/src/include/tcop/tcopprot.h index 41bcaa43f39..535d974b9aa 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.19 1999/05/13 07:29:22 tgl Exp $ + * $Id: tcopprot.h,v 1.20 1999/05/25 16:14:48 momjian Exp $ * * OLD COMMENTS * This file was created so that other c files could get the two @@ -22,7 +22,7 @@ #include "executor/execdesc.h" #include "parser/parse_node.h" -/* Autoconf's test for HAVE_SIGSETJMP fails on Linux 2.0.x because the test +/* Autoconf's test for HAVE_SIGSETJMP fails on Linux 2.0.x because the test * explicitly disallows sigsetjmp being a #define, which is how it * is declared in Linux. So, to avoid compiler warnings about * sigsetjmp() being redefined, let's not redefine unless necessary. @@ -36,13 +36,13 @@ #define sigsetjmp(x,y) setjmp(x) #define siglongjmp longjmp #endif -extern DLLIMPORT sigjmp_buf Warn_restart; +extern DLLIMPORT sigjmp_buf Warn_restart; extern bool InError; #ifndef BOOTSTRAP_INCLUDE extern List *pg_parse_and_plan(char *query_string, Oid *typev, int nargs, - List **queryListP, CommandDest dest, - bool aclOverride); + List **queryListP, CommandDest dest, + bool aclOverride); extern void pg_exec_query(char *query_string); extern void pg_exec_query_acl_override(char *query_string); extern void |
