Add typdefs to pgindent run.
authorBruce Momjian <bruce@momjian.us>
Mon, 8 Sep 1997 20:59:27 +0000 (20:59 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 8 Sep 1997 20:59:27 +0000 (20:59 +0000)
86 files changed:
contrib/array/array_iterator.c
src/backend/access/common/tupdesc.c
src/backend/access/gist/gist.c
src/backend/access/hash/hash.c
src/backend/access/hash/hashovfl.c
src/backend/access/hash/hashpage.c
src/backend/access/hash/hashsearch.c
src/backend/access/heap/heapam.c
src/backend/access/nbtree/nbtpage.c
src/backend/access/nbtree/nbtree.c
src/backend/access/nbtree/nbtscan.c
src/backend/access/nbtree/nbtsearch.c
src/backend/access/nbtree/nbtsort.c
src/backend/access/rtree/rtproc.c
src/backend/access/rtree/rtree.c
src/backend/access/transam/transam.c
src/backend/access/transam/transsup.c
src/backend/bootstrap/bootstrap.c
src/backend/catalog/heap.c
src/backend/catalog/indexing.c
src/backend/commands/copy.c
src/backend/commands/defind.c
src/backend/commands/remove.c
src/backend/commands/sequence.c
src/backend/commands/vacuum.c
src/backend/executor/execQual.c
src/backend/executor/execUtils.c
src/backend/executor/nodeAgg.c
src/backend/executor/nodeAppend.c
src/backend/executor/nodeGroup.c
src/backend/executor/nodeMergejoin.c
src/backend/executor/nodeNestloop.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/nodes/outfuncs.c
src/backend/optimizer/path/predmig.c
src/backend/optimizer/plan/createplan.c
src/backend/optimizer/plan/setrefs.c
src/backend/optimizer/util/clauses.c
src/backend/parser/analyze.c
src/backend/postmaster/postmaster.c
src/backend/storage/buffer/buf_table.c
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/freelist.c
src/backend/storage/large_object/inv_api.c
src/backend/tcop/aclchk.c
src/backend/tioga/tgRecipe.h
src/backend/utils/adt/acl.c
src/backend/utils/adt/arrayfuncs.c
src/backend/utils/adt/char.c
src/backend/utils/adt/chunk.c
src/backend/utils/adt/date.c
src/backend/utils/adt/geo_ops.c
src/backend/utils/adt/int.c
src/backend/utils/cache/inval.c
src/backend/utils/mmgr/aset.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h
src/include/access/gist.h
src/include/access/hash.h
src/include/access/heapam.h
src/include/access/nbtree.h
src/include/access/rtree.h
src/include/access/strat.h
src/include/access/transam.h
src/include/access/tupdesc.h
src/include/bootstrap/bootstrap.h
src/include/executor/nodeAgg.h
src/include/executor/nodeAppend.h
src/include/libpq/pqcomm.h
src/include/nodes/execnodes.h
src/include/nodes/parsenodes.h
src/include/nodes/plannodes.h
src/include/nodes/primnodes.h
src/include/optimizer/clauses.h
src/include/optimizer/planmain.h
src/include/storage/block.h
src/include/storage/buf_internals.h
src/include/storage/bufmgr.h
src/include/storage/shmem.h
src/include/utils/acl.h
src/include/utils/array.h
src/include/utils/builtins.h
src/include/utils/geo_decls.h
src/include/utils/memutils.h
src/test/regress/regress.c

index 23478fb738336c19c7cee838b4ba663a02231237..f4ecfad903fbb58e72c1026e89884a5652de195d 100644 (file)
@@ -41,7 +41,7 @@
 #include "utils/elog.h"
 
 static int32
-array_iterator(Oid elemtype, Oid proc, int and, ArrayType * array, Datum value)
+array_iterator(Oid elemtype, Oid proc, int and, ArrayType *array, Datum value)
 {
        HeapTuple       typ_tuple;
        TypeTupleForm typ_struct;
@@ -157,7 +157,7 @@ array_iterator(Oid elemtype, Oid proc, int and, ArrayType * array, Datum value)
  */
 
 int32
-array_texteq(ArrayType * array, char *value)
+array_texteq(ArrayType *array, char *value)
 {
        return array_iterator((Oid) 25,         /* text */
                                                  (Oid) 67,             /* texteq */
@@ -166,7 +166,7 @@ array_texteq(ArrayType * array, char *value)
 }
 
 int32
-array_all_texteq(ArrayType * array, char *value)
+array_all_texteq(ArrayType *array, char *value)
 {
        return array_iterator((Oid) 25,         /* text */
                                                  (Oid) 67,             /* texteq */
@@ -175,7 +175,7 @@ array_all_texteq(ArrayType * array, char *value)
 }
 
 int32
-array_textregexeq(ArrayType * array, char *value)
+array_textregexeq(ArrayType *array, char *value)
 {
        return array_iterator((Oid) 25,         /* text */
                                                  (Oid) 81,             /* textregexeq */
@@ -184,7 +184,7 @@ array_textregexeq(ArrayType * array, char *value)
 }
 
 int32
-array_all_textregexeq(ArrayType * array, char *value)
+array_all_textregexeq(ArrayType *array, char *value)
 {
        return array_iterator((Oid) 25,         /* text */
                                                  (Oid) 81,             /* textregexeq */
@@ -198,7 +198,7 @@ array_all_textregexeq(ArrayType * array, char *value)
  */
 
 int32
-array_char16eq(ArrayType * array, char *value)
+array_char16eq(ArrayType *array, char *value)
 {
        return array_iterator((Oid) 20,         /* char16 */
                                                  (Oid) 490,    /* char16eq */
@@ -207,7 +207,7 @@ array_char16eq(ArrayType * array, char *value)
 }
 
 int32
-array_all_char16eq(ArrayType * array, char *value)
+array_all_char16eq(ArrayType *array, char *value)
 {
        return array_iterator((Oid) 20,         /* char16 */
                                                  (Oid) 490,    /* char16eq */
@@ -216,7 +216,7 @@ array_all_char16eq(ArrayType * array, char *value)
 }
 
 int32
-array_char16regexeq(ArrayType * array, char *value)
+array_char16regexeq(ArrayType *array, char *value)
 {
        return array_iterator((Oid) 20,         /* char16 */
                                                  (Oid) 700,    /* char16regexeq */
@@ -225,7 +225,7 @@ array_char16regexeq(ArrayType * array, char *value)
 }
 
 int32
-array_all_char16regexeq(ArrayType * array, char *value)
+array_all_char16regexeq(ArrayType *array, char *value)
 {
        return array_iterator((Oid) 20,         /* char16 */
                                                  (Oid) 700,    /* char16regexeq */
@@ -238,7 +238,7 @@ array_all_char16regexeq(ArrayType * array, char *value)
  */
 
 int32
-array_int4eq(ArrayType * array, int4 value)
+array_int4eq(ArrayType *array, int4 value)
 {
        return array_iterator((Oid) 23,         /* int4 */
                                                  (Oid) 65,             /* int4eq */
@@ -247,7 +247,7 @@ array_int4eq(ArrayType * array, int4 value)
 }
 
 int32
-array_all_int4eq(ArrayType * array, int4 value)
+array_all_int4eq(ArrayType *array, int4 value)
 {
        return array_iterator((Oid) 23,         /* int4 */
                                                  (Oid) 65,             /* int4eq */
@@ -256,7 +256,7 @@ array_all_int4eq(ArrayType * array, int4 value)
 }
 
 int32
-array_int4gt(ArrayType * array, int4 value)
+array_int4gt(ArrayType *array, int4 value)
 {
        return array_iterator((Oid) 23,         /* int4 */
                                                  (Oid) 147,    /* int4gt */
@@ -265,7 +265,7 @@ array_int4gt(ArrayType * array, int4 value)
 }
 
 int32
-array_all_int4gt(ArrayType * array, int4 value)
+array_all_int4gt(ArrayType *array, int4 value)
 {
        return array_iterator((Oid) 23,         /* int4 */
                                                  (Oid) 147,    /* int4gt */
index d4b5e893bddb1f505164da5705b06193f8eca114..f0bcd60493e6a019b629f6715961c81e7343b24b 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.21 1997/09/08 02:19:56 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.22 1997/09/08 20:53:40 momjian Exp $
  *
  * NOTES
  *       some of the executor utility code such as "ExecTypeFromTL" should be
@@ -75,7 +75,7 @@ CreateTemplateTupleDesc(int natts)
  * ----------------------------------------------------------------
  */
 TupleDesc
-CreateTupleDesc(int natts, AttributeTupleForm * attrs)
+CreateTupleDesc(int natts, AttributeTupleForm *attrs)
 {
        TupleDesc       desc;
 
index d12e4e5c6ea751aac3cfa2821fc9c66b78723a00..b35cf77573e45c724745629795769408e1e682ec 100644 (file)
@@ -59,7 +59,7 @@ static void GISTInitBuffer(Buffer b, uint32 f);
 static BlockNumber
 gistChooseSubtree(Relation r, IndexTuple itup, int level,
                                  GISTSTATE * giststate,
-                                 GISTSTACK ** retstack, Buffer * leafbuf);
+                                 GISTSTACK ** retstack, Buffer *leafbuf);
 static OffsetNumber
 gistchoose(Relation r, Page p, IndexTuple it,
                   GISTSTATE * giststate);
@@ -78,7 +78,7 @@ void
 gistbuild(Relation heap,
                  Relation index,
                  int natts,
-                 AttrNumber * attnum,
+                 AttrNumber *attnum,
                  IndexStrategy istrat,
                  uint16 pint,
                  Datum * params,
@@ -470,7 +470,7 @@ gistChooseSubtree(Relation r, IndexTuple itup,      /* itup has compressed
                                  int level,
                                  GISTSTATE * giststate,
                                  GISTSTACK ** retstack /* out */ ,
-                                 Buffer * leafbuf /* out */ )
+                                 Buffer *leafbuf /* out */ )
 {
        Buffer          buffer;
        BlockNumber blk;
index 97e1a631a1e04d9559764454e9470e5ad512c12a..427c222dfcf08abdf472c3dcced5de3b64f147ad 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.14 1997/09/08 02:20:10 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.15 1997/09/08 20:53:53 momjian Exp $
  *
  * NOTES
  *       This file contains only the public interface routines.
@@ -45,7 +45,7 @@ void
 hashbuild(Relation heap,
                  Relation index,
                  int natts,
-                 AttrNumber * attnum,
+                 AttrNumber *attnum,
                  IndexStrategy istrat,
                  uint16 pcount,
                  Datum * params,
index 5d764b34724a7e6e2b31510b0cbd07c70a773b13..9954fb90d087a731f4f4a5b12d9c069a4cf15e58 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.11 1997/09/08 02:20:17 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/hash/hashovfl.c,v 1.12 1997/09/08 20:53:59 momjian Exp $
  *
  * NOTES
  *       Overflow pages look like ordinary relation pages.
@@ -26,7 +26,7 @@
 #include <string.h>
 #endif
 
-static OverflowPageAddress _hash_getovfladdr(Relation rel, Buffer * metabufp);
+static OverflowPageAddress _hash_getovfladdr(Relation rel, Buffer *metabufp);
 static uint32 _hash_firstfreebit(uint32 map);
 
 /*
@@ -40,7 +40,7 @@ static uint32 _hash_firstfreebit(uint32 map);
  *
  */
 Buffer
-_hash_addovflpage(Relation rel, Buffer * metabufp, Buffer buf)
+_hash_addovflpage(Relation rel, Buffer *metabufp, Buffer buf)
 {
 
        OverflowPageAddress oaddr;
@@ -100,7 +100,7 @@ _hash_addovflpage(Relation rel, Buffer * metabufp, Buffer buf)
  *
  */
 static OverflowPageAddress
-_hash_getovfladdr(Relation rel, Buffer * metabufp)
+_hash_getovfladdr(Relation rel, Buffer *metabufp)
 {
        HashMetaPage metap;
        Buffer          mapbuf = 0;
index 17fdaab37fdf3be126c94599fff17dc987a665cc..259f3cbe20c8f5db62191a2abbaaeaff42fe784a 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.11 1997/09/08 02:20:18 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/hash/hashpage.c,v 1.12 1997/09/08 20:54:03 momjian Exp $
  *
  * NOTES
  *       Postgres hash pages look like ordinary relation pages.  The opaque
@@ -270,7 +270,7 @@ _hash_wrtnorelbuf(Relation rel, Buffer buf)
 
 Page
 _hash_chgbufaccess(Relation rel,
-                                  Buffer * bufp,
+                                  Buffer *bufp,
                                   int from_access,
                                   int to_access)
 {
index 7c3b91b9c0c9d1aed4d212f19e37a9a3191ee84c..4c161edb891ce36348207b8ae296e8b97bb4bc02 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/hash/hashsearch.c,v 1.12 1997/09/08 02:20:20 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/hash/hashsearch.c,v 1.13 1997/09/08 20:54:05 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -31,7 +31,7 @@ void
 _hash_search(Relation rel,
                         int keysz,
                         ScanKey scankey,
-                        Buffer * bufP,
+                        Buffer *bufP,
                         HashMetaPage metap)
 {
        BlockNumber blkno;
@@ -127,7 +127,7 @@ _hash_next(IndexScanDesc scan, ScanDirection dir)
 
 static void
 _hash_readnext(Relation rel,
-                          Buffer * bufp, Page * pagep, HashPageOpaque * opaquep)
+                          Buffer *bufp, Page * pagep, HashPageOpaque * opaquep)
 {
        BlockNumber blkno;
 
@@ -146,7 +146,7 @@ _hash_readnext(Relation rel,
 
 static void
 _hash_readprev(Relation rel,
-                          Buffer * bufp, Page * pagep, HashPageOpaque * opaquep)
+                          Buffer *bufp, Page * pagep, HashPageOpaque * opaquep)
 {
        BlockNumber blkno;
 
@@ -284,7 +284,7 @@ _hash_first(IndexScanDesc scan, ScanDirection dir)
  *             'metabuf' is released when this returns.
  */
 bool
-_hash_step(IndexScanDesc scan, Buffer * bufP, ScanDirection dir, Buffer metabuf)
+_hash_step(IndexScanDesc scan, Buffer *bufP, ScanDirection dir, Buffer metabuf)
 {
        Relation        rel;
        ItemPointer current;
index fa4dbae7ae1bf5080f2a39bedc617d7a04ac96fc..e1f969dffa244fc2a11bae62851595e1e3704d57 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.17 1997/09/08 02:20:28 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.18 1997/09/08 20:54:08 momjian Exp $
  *
  *
  * INTERFACE ROUTINES
@@ -214,7 +214,7 @@ static HeapTuple
 heapgettup(Relation relation,
                   ItemPointer tid,
                   int dir,
-                  Buffer * b,
+                  Buffer *b,
                   TimeQual timeQual,
                   int nkeys,
                   ScanKey key)
@@ -805,7 +805,7 @@ elog(DEBUG, "heap_getnext([%s,nkeys=%d],backw=%d,0x%x) called", \
 HeapTuple
 heap_getnext(HeapScanDesc scandesc,
                         int backw,
-                        Buffer * b)
+                        Buffer *b)
 {
        register HeapScanDesc sdesc = scandesc;
        Buffer          localb;
@@ -1033,7 +1033,7 @@ HeapTuple
 heap_fetch(Relation relation,
                   TimeQual timeQual,
                   ItemPointer tid,
-                  Buffer * b)
+                  Buffer *b)
 {
        ItemId          lp;
        Buffer          buffer;
index fe3bebbccdf28f60bb32c13b76bc559bf402db6d..7bd074c09a2c5b4aa80f9b8ebfbd6fe8df1e2b03 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.11 1997/09/08 02:20:49 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtpage.c,v 1.12 1997/09/08 20:54:15 momjian Exp $
  *
  *     NOTES
  *        Postgres btree pages look like ordinary relation pages.      The opaque
@@ -56,7 +56,7 @@ typedef struct BTMetaPageData
 #ifdef BTREE_VERSION_1
        int32           btm_level;
 #endif
-}                      BTMetaPageData;
+} BTMetaPageData;
 
 #define BTPageGetMeta(p) \
        ((BTMetaPageData *) &((PageHeader) p)->pd_linp[0])
index 9f7b59327a96e081398bdbdcbccbe27966a5bb13..203772ee2d4fdfb2180a9efa6a3672a1b417f40f 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.21 1997/09/08 02:20:50 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.22 1997/09/08 20:54:21 momjian Exp $
  *
  * NOTES
  *       This file contains only the public interface routines.
@@ -56,7 +56,7 @@ void
 btbuild(Relation heap,
                Relation index,
                int natts,
-               AttrNumber * attnum,
+               AttrNumber *attnum,
                IndexStrategy istrat,
                uint16 pcount,
                Datum * params,
index 4f3ee1ffe627c021a7ade9842d2d00d094cce4ff..7263a09dcf55163198eba14fc3c7793b4931040b 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.9 1997/09/08 02:20:52 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/nbtree/Attic/nbtscan.c,v 1.10 1997/09/08 20:54:24 momjian Exp $
  *
  *
  * NOTES
@@ -36,7 +36,7 @@ typedef struct BTScanListData
 {
        IndexScanDesc btsl_scan;
        struct BTScanListData *btsl_next;
-}                      BTScanListData;
+} BTScanListData;
 
 typedef BTScanListData *BTScanList;
 
index 50f2031779fa465a9c6f62987a4a72706c87701f..7b7a4ee2bdf20c477d8ead7a34798ab01a855841 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.25 1997/09/08 02:20:57 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.26 1997/09/08 20:54:27 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -30,7 +30,7 @@
 
 static BTStack
 _bt_searchr(Relation rel, int keysz, ScanKey scankey,
-                       Buffer * bufP, BTStack stack_in);
+                       Buffer *bufP, BTStack stack_in);
 static OffsetNumber
 _bt_firsteq(Relation rel, TupleDesc itupdesc, Page page,
                        Size keysz, ScanKey scankey, OffsetNumber offnum);
@@ -38,7 +38,7 @@ static int
 _bt_compare(Relation rel, TupleDesc itupdesc, Page page,
                        int keysz, ScanKey scankey, OffsetNumber offnum);
 static bool
-                       _bt_twostep(IndexScanDesc scan, Buffer * bufP, ScanDirection dir);
+                       _bt_twostep(IndexScanDesc scan, Buffer *bufP, ScanDirection dir);
 static RetrieveIndexResult
                        _bt_endpoint(IndexScanDesc scan, ScanDirection dir);
 
@@ -49,7 +49,7 @@ static RetrieveIndexResult
  *             calls a recursive-descent search routine on the tree.
  */
 BTStack
-_bt_search(Relation rel, int keysz, ScanKey scankey, Buffer * bufP)
+_bt_search(Relation rel, int keysz, ScanKey scankey, Buffer *bufP)
 {
        *bufP = _bt_getroot(rel, BT_READ);
        return (_bt_searchr(rel, keysz, scankey, bufP, (BTStack) NULL));
@@ -62,7 +62,7 @@ static BTStack
 _bt_searchr(Relation rel,
                        int keysz,
                        ScanKey scankey,
-                       Buffer * bufP,
+                       Buffer *bufP,
                        BTStack stack_in)
 {
        BTStack         stack;
@@ -1060,7 +1060,7 @@ _bt_first(IndexScanDesc scan, ScanDirection dir)
  *             scan to the right thing.
  */
 bool
-_bt_step(IndexScanDesc scan, Buffer * bufP, ScanDirection dir)
+_bt_step(IndexScanDesc scan, Buffer *bufP, ScanDirection dir)
 {
        Page            page;
        BTPageOpaque opaque;
@@ -1236,7 +1236,7 @@ _bt_step(IndexScanDesc scan, Buffer * bufP, ScanDirection dir)
  *             succeeded, we return true; otherwise, we return false.
  */
 static bool
-_bt_twostep(IndexScanDesc scan, Buffer * bufP, ScanDirection dir)
+_bt_twostep(IndexScanDesc scan, Buffer *bufP, ScanDirection dir)
 {
        Page            page;
        BTPageOpaque opaque;
index fae0fc27dab96971a19843b32514989cc5e398a8..5cfc12e8ccffb645bdf18d51a7b3649d64b7cc18 100644 (file)
@@ -5,7 +5,7 @@
  *
  *
  * IDENTIFICATION
- *       $Id: nbtsort.c,v 1.21 1997/09/08 02:20:58 momjian Exp $
+ *       $Id: nbtsort.c,v 1.22 1997/09/08 20:54:28 momjian Exp $
  *
  * NOTES
  *
@@ -72,7 +72,7 @@ extern int    ShowExecutorStats;
 static BTItem _bt_buildadd(Relation index, void *pstate, BTItem bti, int flags);
 static BTItem _bt_minitem(Page opage, BlockNumber oblkno, int atend);
 static void *_bt_pagestate(Relation index, int flags, int level, bool doupper);
-static void _bt_uppershutdown(Relation index, BTPageState * state);
+static void _bt_uppershutdown(Relation index, BTPageState *state);
 
 /*
  * turn on debugging output.
@@ -113,7 +113,7 @@ typedef struct
        short           bttb_ntup;              /* number of tuples in this block */
        short           bttb_eor;               /* End-Of-Run marker */
        char            bttb_data[TAPEBLCKSZ - 2 * sizeof(double)];
-}                      BTTapeBlock;
+} BTTapeBlock;
 
 /*
  * this structure holds the bookkeeping for a simple balanced multiway
@@ -129,7 +129,7 @@ typedef struct
        BTTapeBlock **bts_itape;        /* input tape blocks */
        BTTapeBlock **bts_otape;        /* output tape blocks */
        bool            isunique;
-}                      BTSpool;
+} BTSpool;
 
 /*-------------------------------------------------------------------------
  * sorting comparison routine - returns {-1,0,1} depending on whether
@@ -154,14 +154,14 @@ typedef struct
        Datum      *btsk_datum;
        char       *btsk_nulls;
        BTItem          btsk_item;
-}                      BTSortKey;
+} BTSortKey;
 
 static Relation _bt_sortrel;
 static int     _bt_nattr;
 static BTSpool *_bt_inspool;
 
 static void
-_bt_isortcmpinit(Relation index, BTSpool * spool)
+_bt_isortcmpinit(Relation index, BTSpool *spool)
 {
        _bt_sortrel = index;
        _bt_inspool = spool;
@@ -169,7 +169,7 @@ _bt_isortcmpinit(Relation index, BTSpool * spool)
 }
 
 static int
-_bt_isortcmp(BTSortKey * k1, BTSortKey * k2)
+_bt_isortcmp(BTSortKey *k1, BTSortKey *k2)
 {
        Datum      *k1_datum = k1->btsk_datum;
        Datum      *k2_datum = k2->btsk_datum;
@@ -218,7 +218,7 @@ _bt_isortcmp(BTSortKey * k1, BTSortKey * k2)
 }
 
 static void
-_bt_setsortkey(Relation index, BTItem bti, BTSortKey * sk)
+_bt_setsortkey(Relation index, BTItem bti, BTSortKey *sk)
 {
        sk->btsk_item = (BTItem) NULL;
        sk->btsk_datum = (Datum *) NULL;
@@ -262,7 +262,7 @@ typedef struct
 {
        int                     btpqe_tape;             /* tape identifier */
        BTSortKey       btpqe_item;             /* pointer to BTItem in tape buffer */
-}                      BTPriQueueElem;
+} BTPriQueueElem;
 
 #define MAXELEM MAXTAPES
 typedef struct
@@ -270,14 +270,14 @@ typedef struct
        int                     btpq_nelem;
        BTPriQueueElem btpq_queue[MAXELEM];
        Relation        btpq_rel;
-}                      BTPriQueue;
+} BTPriQueue;
 
 /* be sure to call _bt_isortcmpinit first */
 #define GREATER(a, b) \
        (_bt_isortcmp(&((a)->btpqe_item), &((b)->btpqe_item)) > 0)
 
 static void
-_bt_pqsift(BTPriQueue * q, int parent)
+_bt_pqsift(BTPriQueue *q, int parent)
 {
        int                     child;
        BTPriQueueElem e;
@@ -308,7 +308,7 @@ _bt_pqsift(BTPriQueue * q, int parent)
 }
 
 static int
-_bt_pqnext(BTPriQueue * q, BTPriQueueElem * e)
+_bt_pqnext(BTPriQueue *q, BTPriQueueElem *e)
 {
        if (q->btpq_nelem < 1)
        {                                                       /* already empty */
@@ -326,7 +326,7 @@ _bt_pqnext(BTPriQueue * q, BTPriQueueElem * e)
 }
 
 static void
-_bt_pqadd(BTPriQueue * q, BTPriQueueElem * e)
+_bt_pqadd(BTPriQueue *q, BTPriQueueElem *e)
 {
        int                     child,
                                parent;
@@ -376,7 +376,7 @@ _bt_pqadd(BTPriQueue * q, BTPriQueueElem * e)
  * empty.)
  */
 static void
-_bt_tapereset(BTTapeBlock * tape)
+_bt_tapereset(BTTapeBlock *tape)
 {
        tape->bttb_eor = 0;
        tape->bttb_top = 0;
@@ -387,7 +387,7 @@ _bt_tapereset(BTTapeBlock * tape)
  * rewind the physical tape file.
  */
 static void
-_bt_taperewind(BTTapeBlock * tape)
+_bt_taperewind(BTTapeBlock *tape)
 {
        FileSeek(tape->bttb_fd, 0, SEEK_SET);
 }
@@ -402,7 +402,7 @@ _bt_taperewind(BTTapeBlock * tape)
  * least you don't have to delete and reinsert the directory entries.
  */
 static void
-_bt_tapeclear(BTTapeBlock * tape)
+_bt_tapeclear(BTTapeBlock *tape)
 {
        /* blow away the contents of the old file */
        _bt_taperewind(tape);
@@ -444,7 +444,7 @@ _bt_tapecreate(char *fname)
  * destroy the BTTapeBlock structure and its physical tape file.
  */
 static void
-_bt_tapedestroy(BTTapeBlock * tape)
+_bt_tapedestroy(BTTapeBlock *tape)
 {
        FileUnlink(tape->bttb_fd);
        pfree((void *) tape);
@@ -454,7 +454,7 @@ _bt_tapedestroy(BTTapeBlock * tape)
  * flush the tape block to the file, marking End-Of-Run if requested.
  */
 static void
-_bt_tapewrite(BTTapeBlock * tape, int eor)
+_bt_tapewrite(BTTapeBlock *tape, int eor)
 {
        tape->bttb_eor = eor;
        FileWrite(tape->bttb_fd, (char *) tape, TAPEBLCKSZ);
@@ -472,7 +472,7 @@ _bt_tapewrite(BTTapeBlock * tape, int eor)
  * - 1 if a valid block was read
  */
 static int
-_bt_taperead(BTTapeBlock * tape)
+_bt_taperead(BTTapeBlock *tape)
 {
        int                     fd;
        int                     nread;
@@ -511,7 +511,7 @@ _bt_taperead(BTTapeBlock * tape)
  * - sets 'pos' to the current position within the block.
  */
 static BTItem
-_bt_tapenext(BTTapeBlock * tape, char **pos)
+_bt_tapenext(BTTapeBlock *tape, char **pos)
 {
        Size            itemsz;
        BTItem          bti;
@@ -520,7 +520,7 @@ _bt_tapenext(BTTapeBlock * tape, char **pos)
        {
                return ((BTItem) NULL);
        }
-       bti = (BTItem) * pos;
+       bti = (BTItem) *pos;
        itemsz = BTITEMSZ(bti);
        *pos += DOUBLEALIGN(itemsz);
        return (bti);
@@ -538,7 +538,7 @@ _bt_tapenext(BTTapeBlock * tape, char **pos)
  * the beginning of free space.
  */
 static void
-_bt_tapeadd(BTTapeBlock * tape, BTItem item, int itemsz)
+_bt_tapeadd(BTTapeBlock *tape, BTItem item, int itemsz)
 {
        memcpy(tape->bttb_data + tape->bttb_top, item, itemsz);
        ++tape->bttb_ntup;
@@ -615,7 +615,7 @@ _bt_spooldestroy(void *spool)
  * flush out any dirty output tape blocks
  */
 static void
-_bt_spoolflush(BTSpool * btspool)
+_bt_spoolflush(BTSpool *btspool)
 {
        int                     i;
 
@@ -635,7 +635,7 @@ _bt_spoolflush(BTSpool * btspool)
  * output tapes.
  */
 static void
-_bt_spoolswap(BTSpool * btspool)
+_bt_spoolswap(BTSpool *btspool)
 {
        File            tmpfd;
        BTTapeBlock *itape;
@@ -800,7 +800,7 @@ _bt_spool(Relation index, BTItem btitem, void *spool)
  * allocate a new, clean btree page, not linked to any siblings.
  */
 static void
-_bt_blnewpage(Relation index, Buffer * buf, Page * page, int flags)
+_bt_blnewpage(Relation index, Buffer *buf, Page * page, int flags)
 {
        BTPageOpaque opaque;
 
@@ -1107,7 +1107,7 @@ _bt_buildadd(Relation index, void *pstate, BTItem bti, int flags)
 }
 
 static void
-_bt_uppershutdown(Relation index, BTPageState * state)
+_bt_uppershutdown(Relation index, BTPageState *state)
 {
        BTPageState *s;
        BlockNumber blkno;
@@ -1158,7 +1158,7 @@ _bt_uppershutdown(Relation index, BTPageState * state)
  * XXX three nested loops?     gross.  cut me up into smaller routines.
  */
 static void
-_bt_merge(Relation index, BTSpool * btspool)
+_bt_merge(Relation index, BTSpool *btspool)
 {
        BTPageState *state;
        BTPriQueue      q;
index 5f1d4846f6db86939ad2ef83d9d87706c516b18b..b2c967e58521583efefed815eabbf2f01469e258 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.9 1997/09/08 02:21:05 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.10 1997/09/08 20:54:32 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -23,7 +23,8 @@
 #endif
 
 BOX
-* rt_box_union(BOX * a, BOX * b)
+                  *
+rt_box_union(BOX *a, BOX *b)
 {
        BOX                *n;
 
@@ -39,7 +40,7 @@ BOX
 }
 
 BOX               *
-rt_box_inter(BOX * a, BOX * b)
+rt_box_inter(BOX *a, BOX *b)
 {
        BOX                *n;
 
@@ -61,7 +62,7 @@ rt_box_inter(BOX * a, BOX * b)
 }
 
 void
-rt_box_size(BOX * a, float *size)
+rt_box_size(BOX *a, float *size)
 {
        if (a == (BOX *) NULL || a->high.x <= a->low.x || a->high.y <= a->low.y)
                *size = 0.0;
@@ -80,7 +81,7 @@ rt_box_size(BOX * a, float *size)
  *             have a special return type for big boxes.
  */
 void
-rt_bigbox_size(BOX * a, float *size)
+rt_bigbox_size(BOX *a, float *size)
 {
        rt_box_size(a, size);
 }
index 8b1aa533e84a0ce29a7085da4a7177cf137cbf94..2d18f20540f803eb7a9b214212f85bbe5f618ab3 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.15 1997/09/08 02:21:06 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtree.c,v 1.16 1997/09/08 20:54:33 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -78,7 +78,7 @@ void
 rtbuild(Relation heap,
                Relation index,
                int natts,
-               AttrNumber * attnum,
+               AttrNumber *attnum,
                IndexStrategy istrat,
                uint16 pcount,
                Datum * params,
index 03b82872fd630ac180e0c8bd3c30f95d0b2acaa9..9d5724fad14d41d7fd928f90ca4f0b02fb74e94b 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.11 1997/09/08 02:21:14 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.12 1997/09/08 20:54:36 momjian Exp $
  *
  * NOTES
  *       This file contains the high level access-method interface to the
@@ -273,8 +273,8 @@ TransactionLogUpdate(TransactionId transactionId,           /* trans id to update */
  */
 
 AbsoluteTime                                   /* commit time of transaction id */
-TransactionIdGetCommitTime(TransactionId transactionId)                        /* transaction id to
-                                                                                                                                * test */
+TransactionIdGetCommitTime(TransactionId transactionId) /* transaction id to
+                                                                                                                * test */
 {
        BlockNumber blockNumber;
        AbsoluteTime commitTime;        /* commit time */
index acdfe93ea90c9e645d137ec00a7d95bfeaee179b..15645d61b19a999620a1d406f970cb897567b5ae 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/transsup.c,v 1.11 1997/09/08 02:21:18 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/transsup.c,v 1.12 1997/09/08 20:54:37 momjian Exp $
  *
  * NOTES
  *       This file contains support functions for the high
@@ -61,7 +61,7 @@ void
 TransComputeBlockNumber(Relation relation,             /* relation to test */
                                                TransactionId transactionId,    /* transaction id to
                                                                                                                 * test */
-                                               BlockNumber * blockNumberOutP)
+                                               BlockNumber *blockNumberOutP)
 {
        long            itemsPerBlock = 0;
 
index f96abbd4cb5b96ea940c1728956829e46297815d..ff0c5ef7ba00dbc5bfbd14fadbabb8c3451dc176 100644 (file)
@@ -7,7 +7,7 @@
  * Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.23 1997/09/08 02:21:29 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.24 1997/09/08 20:54:40 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -1111,7 +1111,7 @@ void
 index_register(char *heap,
                           char *ind,
                           int natts,
-                          AttrNumber * attnos,
+                          AttrNumber *attnos,
                           uint16 nparams,
                           Datum * params,
                           FuncIndexInfo * finfo,
index 1fbb505400edf5e96dd4f5041482d4fc3c801164..4c6c421758cbf725effcd66b953e2da5de827648 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.26 1997/09/08 02:21:37 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.27 1997/09/08 20:54:54 momjian Exp $
  *
  * INTERFACE ROUTINES
  *             heap_creatr()                   - Create an uncataloged heap relation
@@ -1524,7 +1524,7 @@ pg_plan(char *query_string, Oid * typev, int nargs,
                QueryTreeList ** queryListP, CommandDest dest);
 
 static void
-StoreAttrDefault(Relation rel, AttrDefault * attrdef)
+StoreAttrDefault(Relation rel, AttrDefault *attrdef)
 {
        char            str[MAX_PARSE_BUFFER];
        char            cast[2 * NAMEDATALEN] = {0};
index 5dca2e3d9a2f8e5d2cd6aff14e7b8da5eb9c0468..4e36b1ecd699bc85212e5378457ce9cc9c9efc6b 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.13 1997/09/08 02:21:44 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.14 1997/09/08 20:55:07 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -154,7 +154,7 @@ CatalogIndexInsert(Relation * idescs,
                        finfoP = (FuncIndexInfo *) NULL;
 
                FormIndexDatum(natts,
-                                          (AttrNumber *) & pgIndexP->indkey[0],
+                                          (AttrNumber *) &pgIndexP->indkey[0],
                                           heapTuple,
                                           heapDescriptor,
                                           InvalidBuffer,
index d1e1db0cd4358c947918b9e557d9a4f312e52169..9fa3ad163d32b426bd9ac5ca26040e672a36da37 100644 (file)
@@ -6,7 +6,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.31 1997/09/08 02:22:03 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.32 1997/09/08 20:55:19 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -775,7 +775,7 @@ CopyFrom(Relation rel, bool binary, bool oids, FILE * fp, char *delim)
 #endif                                                 /* OMIT_PARTIAL_INDEX */
                                        }
                                        FormIndexDatum(indexNatts[i],
-                                                          (AttrNumber *) & (pgIndexP[i]->indkey[0]),
+                                                               (AttrNumber *) &(pgIndexP[i]->indkey[0]),
                                                                   tuple,
                                                                   tupDesc,
                                                                   InvalidBuffer,
index 92bb0e7c093665fbc54ee2fb1179e660fc622417..52f7736b5fb56976d69485b2e90c4a2e337348c3 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/commands/Attic/defind.c,v 1.14 1997/09/08 02:22:08 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/commands/Attic/defind.c,v 1.15 1997/09/08 20:55:25 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -46,10 +46,10 @@ CheckPredExpr(Node * predicate, List * rangeTable,
 static void
                        CheckPredClause(Expr * predicate, List * rangeTable, Oid baseRelOid);
 static void
-FuncIndexArgs(IndexElem * funcIndex, AttrNumber * attNumP,
+FuncIndexArgs(IndexElem * funcIndex, AttrNumber *attNumP,
                          Oid * argTypes, Oid * opOidP, Oid relId);
 static void
-NormIndexAttrs(List * attList, AttrNumber * attNumP,
+NormIndexAttrs(List * attList, AttrNumber *attNumP,
                           Oid * opOidP, Oid relId);
 static char *GetDefaultOpClass(Oid atttypid);
 
@@ -422,7 +422,7 @@ CheckPredClause(Expr * predicate, List * rangeTable, Oid baseRelOid)
 
 static void
 FuncIndexArgs(IndexElem * funcIndex,
-                         AttrNumber * attNumP,
+                         AttrNumber *attNumP,
                          Oid * argTypes,
                          Oid * opOidP,
                          Oid relId)
@@ -471,7 +471,7 @@ FuncIndexArgs(IndexElem * funcIndex,
 
 static void
 NormIndexAttrs(List * attList, /* list of IndexElem's */
-                          AttrNumber * attNumP,
+                          AttrNumber *attNumP,
                           Oid * opOidP,
                           Oid relId)
 {
index 5b31866cf24c0530e070832147a2b3c0e9a9b75e..41f18a8f8b7d23bb277ced6a39bef20d3aed5935 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.12 1997/09/08 02:22:13 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.13 1997/09/08 20:55:27 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -398,7 +398,7 @@ RemoveFunction(char *functionName,          /* function name to be removed */
                        ReleaseBuffer(buffer);
                        bufferUsed = FALSE;
                }
-               tup = heap_getnext(scan, 0, (Buffer *) & buffer);
+               tup = heap_getnext(scan, 0, (Buffer *) &buffer);
                if (!HeapTupleIsValid(tup))
                        break;
                bufferUsed = TRUE;
index 3f5bc371636d2fc6048c68a1e97ddba931e68ba3..82c3deaf64406a43fad504a5108a4d525e5f8a14 100644 (file)
@@ -61,7 +61,7 @@ typedef SeqTableData *SeqTable;
 static SeqTable seqtab = NULL;
 
 static SeqTable init_sequence(char *caller, char *name);
-static SequenceTupleForm read_info(char *caller, SeqTable elm, Buffer * buf);
+static SequenceTupleForm read_info(char *caller, SeqTable elm, Buffer *buf);
 static void init_params(CreateSeqStmt * seq, SequenceTupleForm new);
 static int     get_param(DefElem * def);
 
@@ -323,7 +323,7 @@ currval(struct varlena * seqin)
 }
 
 static SequenceTupleForm
-read_info(char *caller, SeqTable elm, Buffer * buf)
+read_info(char *caller, SeqTable elm, Buffer *buf)
 {
        ItemPointerData iptr;
        PageHeader      page;
index 66fbbd5db2bdbc26a5abf3345204720035038aad..1bd08c8a3f3749916a03ab0c10891b11cf96a0b4 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.44 1997/09/08 02:22:17 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.45 1997/09/08 20:55:34 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -1224,7 +1224,7 @@ failed to add item with len = %u to page %u (free space %u, nusd %u, noff %u)",
                                {
                                        FormIndexDatum(
                                                                   idcur->natts,
-                                                         (AttrNumber *) & (idcur->tform->indkey[0]),
+                                                          (AttrNumber *) &(idcur->tform->indkey[0]),
                                                                   newtup,
                                                                   tupdesc,
                                                                   InvalidBuffer,
@@ -1949,7 +1949,7 @@ vc_updstats(Oid relid, int npages, int ntups, bool hasindex, VRelStats * vacrels
                                if (VacAttrStatsLtGtValid(stats) && stats->initialized  /* &&
                                                                                                                                                 * !IsSystemRelationName(
                                                                                                                                                 *
-                                               pgcform->relname.data) */ )
+                                        pgcform->relname.data) */ )
                                {
                                        func_ptr        out_function;
                                        char       *out_string;
index a1e014026561c5901b037fbfff5a04dc25ff2e94..8248c8f5c36c3fa16e4ebf715e4663204ea4133d 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.14 1997/09/08 02:22:33 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.15 1997/09/08 20:55:37 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -69,9 +69,9 @@ bool          execConstByVal;
 int                    execConstLen;
 
 /* static functions decls */
-static Datum ExecEvalAggreg(Aggreg * agg, ExprContext * econtext, bool * isNull);
+static Datum ExecEvalAggreg(Aggreg *agg, ExprContext * econtext, bool * isNull);
 static Datum
-ExecEvalArrayRef(ArrayRef * arrayRef, ExprContext * econtext,
+ExecEvalArrayRef(ArrayRef *arrayRef, ExprContext * econtext,
                                 bool * isNull, bool * isDone);
 static Datum ExecEvalAnd(Expr * andExpr, ExprContext * econtext, bool * isNull);
 static Datum
@@ -101,7 +101,7 @@ static bool ExecQualClause(Node * clause, ExprContext * econtext);
  * --------------------------------
  */
 static Datum
-ExecEvalArrayRef(ArrayRef * arrayRef,
+ExecEvalArrayRef(ArrayRef *arrayRef,
                                 ExprContext * econtext,
                                 bool * isNull,
                                 bool * isDone)
@@ -200,7 +200,7 @@ ExecEvalArrayRef(ArrayRef * arrayRef,
  * ----------------------------------------------------------------
  */
 static Datum
-ExecEvalAggreg(Aggreg * agg, ExprContext * econtext, bool * isNull)
+ExecEvalAggreg(Aggreg *agg, ExprContext * econtext, bool * isNull)
 {
 
        *isNull = econtext->ecxt_nulls[agg->aggno];
index 0f3338d3cb95ad6c3e8fb20672973b985656a98c..8d87e8591a9e45113d40ba308580178680879e13 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.16 1997/09/08 02:22:36 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.17 1997/09/08 20:55:39 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -60,7 +60,7 @@
 
 static void
 ExecGetIndexKeyInfo(IndexTupleForm indexTuple, int *numAttsOutP,
-                                       AttrNumber ** attsOutP, FuncIndexInfoPtr fInfoP);
+                                       AttrNumber **attsOutP, FuncIndexInfoPtr fInfoP);
 
 /* ----------------------------------------------------------------
  *             global counters for number of tuples processed, retrieved,
@@ -608,7 +608,7 @@ QueryDescGetTypeInfo(QueryDesc * queryDesc)
 static void
 ExecGetIndexKeyInfo(IndexTupleForm indexTuple,
                                        int *numAttsOutP,
-                                       AttrNumber ** attsOutP,
+                                       AttrNumber **attsOutP,
                                        FuncIndexInfoPtr fInfoP)
 {
        int                     i;
index 92fa9bbe1efa3e883d06938e9296a22621662000..71646b67e0098b493723d6216f8bf3bd7d2f38f2 100644 (file)
@@ -45,9 +45,9 @@ typedef struct AggFuncInfo
        int                     xfn1_nargs;
        int                     xfn2_nargs;
        int                     finalfn_nargs;
-}                      AggFuncInfo;
+} AggFuncInfo;
 
-static Datum aggGetAttr(TupleTableSlot * tuple, Aggreg * agg, bool * isNull);
+static Datum aggGetAttr(TupleTableSlot * tuple, Aggreg *agg, bool * isNull);
 
 
 /* ---------------------------------------
@@ -88,7 +88,7 @@ static Datum aggGetAttr(TupleTableSlot * tuple, Aggreg * agg, bool * isNull);
  * ------------------------------------------
  */
 TupleTableSlot *
-ExecAgg(Agg * node)
+ExecAgg(Agg *node)
 {
        AggState   *aggstate;
        EState     *estate;
@@ -488,7 +488,7 @@ ExecAgg(Agg * node)
  * -----------------
  */
 bool
-ExecInitAgg(Agg * node, EState * estate, Plan * parent)
+ExecInitAgg(Agg *node, EState * estate, Plan * parent)
 {
        AggState   *aggstate;
        Plan       *outerPlan;
@@ -551,7 +551,7 @@ ExecInitAgg(Agg * node, EState * estate, Plan * parent)
 }
 
 int
-ExecCountSlotsAgg(Agg * node)
+ExecCountSlotsAgg(Agg *node)
 {
        return ExecCountSlotsNode(outerPlan(node)) +
        ExecCountSlotsNode(innerPlan(node)) +
@@ -564,7 +564,7 @@ ExecCountSlotsAgg(Agg * node)
  * -----------------------
  */
 void
-ExecEndAgg(Agg * node)
+ExecEndAgg(Agg *node)
 {
        AggState   *aggstate;
        Plan       *outerPlan;
@@ -592,7 +592,7 @@ ExecEndAgg(Agg * node)
  */
 static Datum
 aggGetAttr(TupleTableSlot * slot,
-                  Aggreg * agg,
+                  Aggreg *agg,
                   bool * isNull)
 {
        Datum           result;
index da43dc8ee3dd538fd961441b75243182704ce8df..786c93c7191953cec08797732c9fb609ef3e5b66 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.7 1997/09/08 02:22:40 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.8 1997/09/08 20:55:41 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -64,7 +64,7 @@
 #include "utils/mcxt.h"
 #include "parser/parsetree.h"  /* for rt_store() macro */
 
-static bool exec_append_initialize_next(Append * node);
+static bool exec_append_initialize_next(Append *node);
 
 /* ----------------------------------------------------------------
  *             exec-append-initialize-next
@@ -76,7 +76,7 @@ static bool exec_append_initialize_next(Append * node);
  * ----------------------------------------------------------------
  */
 static bool
-exec_append_initialize_next(Append * node)
+exec_append_initialize_next(Append *node)
 {
        EState     *estate;
        AppendState *unionstate;
@@ -182,7 +182,7 @@ exec_append_initialize_next(Append * node)
  * ----------------------------------------------------------------
  */
 bool
-ExecInitAppend(Append * node, EState * estate, Plan * parent)
+ExecInitAppend(Append *node, EState * estate, Plan * parent)
 {
        AppendState *unionstate;
        int                     nplans;
@@ -341,7 +341,7 @@ ExecInitAppend(Append * node, EState * estate, Plan * parent)
 }
 
 int
-ExecCountSlotsAppend(Append * node)
+ExecCountSlotsAppend(Append *node)
 {
        List       *plan;
        List       *unionplans = node->unionplans;
@@ -363,7 +363,7 @@ ExecCountSlotsAppend(Append * node)
  * ----------------------------------------------------------------
  */
 TupleTableSlot *
-ExecProcAppend(Append * node)
+ExecProcAppend(Append *node)
 {
        EState     *estate;
        AppendState *unionstate;
@@ -456,7 +456,7 @@ ExecProcAppend(Append * node)
  * ----------------------------------------------------------------
  */
 void
-ExecEndAppend(Append * node)
+ExecEndAppend(Append *node)
 {
        AppendState *unionstate;
        int                     nplans;
index c7e63696c0bdfad868a3b4e776cdadcae115c356..4e9ab4cfc8109f22edae6a12062101732eb0f95b 100644 (file)
@@ -13,7 +13,7 @@
  *       columns. (ie. tuples from the same group are consecutive)
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.7 1997/09/08 02:22:41 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.8 1997/09/08 20:55:43 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -32,7 +32,7 @@ static TupleTableSlot *ExecGroupEveryTuple(Group * node);
 static TupleTableSlot *ExecGroupOneTuple(Group * node);
 static bool
 sameGroup(TupleTableSlot * oldslot, TupleTableSlot * newslot,
-                 int numCols, AttrNumber * grpColIdx, TupleDesc tupdesc);
+                 int numCols, AttrNumber *grpColIdx, TupleDesc tupdesc);
 
 /* ---------------------------------------
  *      ExecGroup -
@@ -383,7 +383,7 @@ static bool
 sameGroup(TupleTableSlot * oldslot,
                  TupleTableSlot * newslot,
                  int numCols,
-                 AttrNumber * grpColIdx,
+                 AttrNumber *grpColIdx,
                  TupleDesc tupdesc)
 {
        bool            isNull1,
index 621cfcea901e4c1b96efb31d6371943d849b77fa..54c085b1d618724fa7218ce0fb9b6215fecf194f 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/executor/nodeMergejoin.c,v 1.10 1997/09/08 02:22:46 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/executor/nodeMergejoin.c,v 1.11 1997/09/08 20:55:45 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -734,8 +734,7 @@ ExecMergeJoin(MergeJoin * node)
                                 * This is the case when
                                 *
                                 * outer inner 4         5      - marked tuple outer tuple -  5         5
-                                * new outer tuple -  5         5 6             8  - inner tuple 7
-                                * 12
+                                * new outer tuple -  5         5 6             8  - inner tuple 7 12
                                 *
                                 * new outer tuple = marked tuple
                                 *
@@ -750,7 +749,8 @@ ExecMergeJoin(MergeJoin * node)
                                 *
                                 * new outer tuple > marked tuple
                                 *
-                               *******************************
+                               ******************************
+                                *
                                 *
                                 *
                                 */
@@ -830,7 +830,8 @@ ExecMergeJoin(MergeJoin * node)
                                 * we have to advance the outer scan until we find the outer
                                 * 8.
                                 *
-                               *******************************
+                               ******************************
+                                *
                                 *
                                 *
                                 */
@@ -932,7 +933,8 @@ ExecMergeJoin(MergeJoin * node)
                                 * we have to advance the inner scan until we find the inner
                                 * 12.
                                 *
-                               *******************************
+                               ******************************
+                                *
                                 *
                                 *
                                 */
index d8d5f38d6db1fdc46ef6df224c92df7d772e7aff..fe6123a0aab209afb86ad049a27c2cb33b29e1bb 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/executor/nodeNestloop.c,v 1.5 1997/09/08 02:22:48 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/executor/nodeNestloop.c,v 1.6 1997/09/08 20:55:46 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -86,7 +86,7 @@ ExecNestLoop(NestLoop * node, Plan * parent)
         */
        econtext = nlstate->jstate.cs_ExprContext;
 
-       /* ----------------             * get the current outer tuple
+       /* ----------------               * get the current outer tuple
         * ----------------
         */
        outerTupleSlot = nlstate->jstate.cs_OuterTupleSlot;
index d710ab711c61cab24ace3cbf92e4a2aa93ec211e..36ed7e86ebd68728eade46e71b7ff0e92d052c9e 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.8 1997/09/08 02:23:29 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.9 1997/09/08 20:55:50 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -157,7 +157,7 @@ _copyResult(Result * from)
  * ----------------
  */
 static Append *
-_copyAppend(Append * from)
+_copyAppend(Append *from)
 {
        Append     *newnode = makeNode(Append);
 
@@ -486,7 +486,7 @@ _copySort(Sort * from)
  * --------------
  */
 static Agg *
-_copyAgg(Agg * from)
+_copyAgg(Agg *from)
 {
        Agg                *newnode = makeNode(Agg);
        int                     i;
@@ -870,7 +870,7 @@ _copyFunc(Func * from)
  * ----------------
  */
 static Aggreg *
-_copyAggreg(Aggreg * from)
+_copyAggreg(Aggreg *from)
 {
        Aggreg     *newnode = makeNode(Aggreg);
 
@@ -890,7 +890,7 @@ _copyAggreg(Aggreg * from)
 }
 
 static Array *
-_copyArray(Array * from)
+_copyArray(Array *from)
 {
        Array      *newnode = makeNode(Array);
 
@@ -910,7 +910,7 @@ _copyArray(Array * from)
 }
 
 static ArrayRef *
-_copyArrayRef(ArrayRef * from)
+_copyArrayRef(ArrayRef *from)
 {
        ArrayRef   *newnode = makeNode(ArrayRef);
 
@@ -1479,7 +1479,7 @@ _copySortClause(SortClause * from)
 }
 
 static A_Const *
-_copyAConst(A_Const * from)
+_copyAConst(A_Const *from)
 {
        A_Const    *newnode = makeNode(A_Const);
 
index 21958ca293ea04635273b418d79ae903a1a68df6..3500a638ce435fce634a6fc1e30918ee2d4fa4b1 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.8 1997/09/08 02:23:36 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.9 1997/09/08 20:55:52 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -138,7 +138,7 @@ _equalVar(Var * a, Var * b)
 }
 
 static bool
-_equalArray(Array * a, Array * b)
+_equalArray(Array *a, Array *b)
 {
        if (a->arrayelemtype != b->arrayelemtype)
                return (false);
@@ -154,7 +154,7 @@ _equalArray(Array * a, Array * b)
 }
 
 static bool
-_equalArrayRef(ArrayRef * a, ArrayRef * b)
+_equalArrayRef(ArrayRef *a, ArrayRef *b)
 {
        if (a->refelemtype != b->refelemtype)
                return (false);
index 30c0ff9a6e4ca1b1b64edc113681662498056b74..9b6840ecb6a11b56cc49ba44d7333553ea931b49 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.8 1997/09/08 02:23:41 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.9 1997/09/08 20:55:56 momjian Exp $
  *
  * NOTES
  *       Every (plan) node in POSTGRES has an associated "out" routine which
@@ -186,7 +186,7 @@ _outExistential(StringInfo str, Existential * node)
  *     Append is a subclass of Plan.
  */
 static void
-_outAppend(StringInfo str, Append * node)
+_outAppend(StringInfo str, Append *node)
 {
        char            buf[500];
 
@@ -387,7 +387,7 @@ _outSort(StringInfo str, Sort * node)
 }
 
 static void
-_outAgg(StringInfo str, Agg * node)
+_outAgg(StringInfo str, Agg *node)
 {
        char            buf[500];
 
@@ -646,7 +646,7 @@ _outConst(StringInfo str, Const * node)
  *     Aggreg
  */
 static void
-_outAggreg(StringInfo str, Aggreg * node)
+_outAggreg(StringInfo str, Aggreg *node)
 {
        char            buf[500];
 
@@ -670,7 +670,7 @@ _outAggreg(StringInfo str, Aggreg * node)
  *     Array is a subclass of Expr
  */
 static void
-_outArray(StringInfo str, Array * node)
+_outArray(StringInfo str, Array *node)
 {
        char            buf[500];
        int                     i;
@@ -707,7 +707,7 @@ _outArray(StringInfo str, Array * node)
  *     ArrayRef is a subclass of Expr
  */
 static void
-_outArrayRef(StringInfo str, ArrayRef * node)
+_outArrayRef(StringInfo str, ArrayRef *node)
 {
        char            buf[500];
 
index f1990e13a020294447cae6e36cddb5e949491fd5..75c131a2442955fed22807ece1224fe45fdf10dc 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/predmig.c,v 1.4 1997/09/08 02:24:26 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/predmig.c,v 1.5 1997/09/08 20:56:03 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -78,7 +78,7 @@ static int    xfunc_stream_compare(void *arg1, void *arg2);
 static bool xfunc_check_stream(Stream node);
 static bool xfunc_in_stream(Stream node, Stream stream);
 
-/* -----------------      MAIN FUNCTIONS               ------------------------ */
+/* -----------------    MAIN FUNCTIONS           ------------------------ */
 /*
 ** xfunc_do_predmig
 **       wrapper for Predicate Migration.      It calls xfunc_predmig until no
@@ -495,7 +495,7 @@ xfunc_form_groups(Query * queryInfo, Stream root, Stream bottom)
 }
 
 
-/* -------------------  UTILITY FUNCTIONS         ------------------------- */
+/* -------------------    UTILITY FUNCTIONS     ------------------------- */
 
 /*
  ** xfunc_free_stream --
@@ -765,7 +765,7 @@ xfunc_stream_compare(void *arg1, void *arg2)
        }
 }
 
-/* ------------------   DEBUGGING ROUTINES             ---------------------------- */
+/* ------------------  DEBUGGING ROUTINES        ---------------------------- */
 
 /*
  ** Make sure all pointers in stream make sense.  Make sure no joins are
index 413389f4756d6548e291bd4be6fadcffca210a1a..310bb528f4a0389e1860d3579ace13432c9c18e3 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.13 1997/09/08 02:24:31 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.14 1997/09/08 20:56:10 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -1113,7 +1113,7 @@ make_material(List * tlist,
 }
 
 Agg               *
-make_agg(List * tlist, int nagg, Aggreg ** aggs)
+make_agg(List * tlist, int nagg, Aggreg **aggs)
 {
        Agg                *node = makeNode(Agg);
 
@@ -1133,7 +1133,7 @@ Group        *
 make_group(List * tlist,
                   bool tuplePerGroup,
                   int ngrp,
-                  AttrNumber * grpColIdx,
+                  AttrNumber *grpColIdx,
                   Sort * lefttree)
 {
        Group      *node = makeNode(Group);
index 5a6e4da3440082bba8af4667fdc19960e852b03c..bc4e8cdbe61854c1380db615808c8209d943e2b5 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/optimizer/plan/setrefs.c,v 1.6 1997/09/08 02:24:39 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/optimizer/plan/setrefs.c,v 1.7 1997/09/08 20:56:16 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -686,7 +686,7 @@ OperandIsInner(Node * opnd, int inner_relid)
  *
  */
 void
-set_agg_tlist_references(Agg * aggNode)
+set_agg_tlist_references(Agg *aggNode)
 {
        List       *aggTargetList;
        List       *subplanTargetList;
@@ -704,7 +704,7 @@ set_agg_tlist_references(Agg * aggNode)
 }
 
 void
-set_agg_agglist_references(Agg * aggNode)
+set_agg_agglist_references(Agg *aggNode)
 {
        List       *subplanTargetList;
        Aggreg    **aggs;
index 17a97a55eefcce49ad401d12300521fc0a59b8c3..520b7456674cefc686eedb7a1d1e86b91ff689ef 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/optimizer/util/clauses.c,v 1.9 1997/09/08 02:24:52 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/optimizer/util/clauses.c,v 1.10 1997/09/08 20:56:19 momjian Exp $
  *
  * HISTORY
  *       AUTHOR                        DATE                    MAJOR EVENT
@@ -597,7 +597,7 @@ fix_opids(List * clauses)
 void
 get_relattval(Node * clause,
                          int *relid,
-                         AttrNumber * attno,
+                         AttrNumber *attno,
                          Datum * constval,
                          int *flag)
 {
@@ -728,9 +728,9 @@ get_relattval(Node * clause,
 void
 get_rels_atts(Node * clause,
                          int *relid1,
-                         AttrNumber * attno1,
+                         AttrNumber *attno1,
                          int *relid2,
-                         AttrNumber * attno2)
+                         AttrNumber *attno2)
 {
        Var                *left = get_leftop((Expr *) clause);
        Var                *right = get_rightop((Expr *) clause);
index c796c74b1ad8fa9fa7615e57c951b37fc69cb989..21af9402095b1600844bb3bae70d61326b843870 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.40 1997/09/08 02:25:11 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.41 1997/09/08 20:56:25 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 static Query *transformStmt(ParseState * pstate, Node * stmt);
 
 static Query *transformDeleteStmt(ParseState * pstate, DeleteStmt * stmt);
-static Query *transformInsertStmt(ParseState * pstate, AppendStmt * stmt);
+static Query *transformInsertStmt(ParseState * pstate, AppendStmt *stmt);
 static Query *transformIndexStmt(ParseState * pstate, IndexStmt * stmt);
 static Query *transformExtendStmt(ParseState * pstate, ExtendStmt * stmt);
 static Query *transformRuleStmt(ParseState * query, RuleStmt * stmt);
 static Query *transformSelectStmt(ParseState * pstate, RetrieveStmt * stmt);
 static Query *transformUpdateStmt(ParseState * pstate, ReplaceStmt * stmt);
 static Query *transformCursorStmt(ParseState * pstate, CursorStmt * stmt);
-static Node *handleNestedDots(ParseState * pstate, Attr * attr, int *curr_resno);
+static Node *handleNestedDots(ParseState * pstate, Attr *attr, int *curr_resno);
 
 #define EXPR_COLUMN_FIRST       1
 #define EXPR_RELATION_FIRST  2
@@ -89,7 +89,7 @@ static List *setup_base_tlist(Oid typeid);
 static void
 make_arguments(int nargs, List * fargs, Oid * input_typeids,
                           Oid * function_typeids);
-static void AddAggToParseState(ParseState * pstate, Aggreg * aggreg);
+static void AddAggToParseState(ParseState * pstate, Aggreg *aggreg);
 static void finalizeAggregates(ParseState * pstate, Query * qry);
 static void parseCheckAggregates(ParseState * pstate, Query * qry);
 static ParseState *makeParseState(void);
@@ -300,7 +300,7 @@ transformDeleteStmt(ParseState * pstate, DeleteStmt * stmt)
  *       transform an Insert Statement
  */
 static Query *
-transformInsertStmt(ParseState * pstate, AppendStmt * stmt)
+transformInsertStmt(ParseState * pstate, AppendStmt *stmt)
 {
        Query      *qry = makeNode(Query);      /* make a new query tree */
 
@@ -1872,7 +1872,7 @@ transformSortClause(ParseState * pstate,
  ** a tree with of Iter and Func nodes.
  */
 static Node *
-handleNestedDots(ParseState * pstate, Attr * attr, int *curr_resno)
+handleNestedDots(ParseState * pstate, Attr *attr, int *curr_resno)
 {
        List       *mutator_iter;
        Node       *retval = NULL;
@@ -2524,7 +2524,7 @@ ParseFunc(ParseState * pstate, char *funcname, List * fargs, int *curr_resno)
  * SIDE EFFECT: aggno in target list entry will be modified
  */
 static void
-AddAggToParseState(ParseState * pstate, Aggreg * aggreg)
+AddAggToParseState(ParseState * pstate, Aggreg *aggreg)
 {
        List       *ag;
        int                     i;
index 998a087d25415e8a105718de65bfbdcb120f6c23..d6c53d2ee263b5239d7eae11b516614edbd33306 100644 (file)
@@ -10,7 +10,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.55 1997/09/08 02:27:53 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.56 1997/09/08 20:56:38 momjian Exp $
  *
  * NOTES
  *
 typedef struct bkend
 {
        int                     pid;                    /* process id of backend */
-}                      Backend;
+} Backend;
 
 /* list of active backends.  For garbage collection only now. */
 
index 1fc31580a589934f528b9794420779d8444ccbd2..b384963101efc4cf342ada61dee3524014f2a747 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_table.c,v 1.6 1997/09/08 02:28:29 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_table.c,v 1.7 1997/09/08 20:56:41 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -101,7 +101,7 @@ BufTableLookup(BufferTag * tagPtr)
  * BufTableDelete
  */
 bool
-BufTableDelete(BufferDesc * buf)
+BufTableDelete(BufferDesc *buf)
 {
        LookupEnt  *result;
        bool            found;
@@ -130,7 +130,7 @@ BufTableDelete(BufferDesc * buf)
 }
 
 bool
-BufTableInsert(BufferDesc * buf)
+BufTableInsert(BufferDesc *buf)
 {
        LookupEnt  *result;
        bool            found;
index 4e7ff8c967c29a5ee3787bf6fec3d477b0172294..cdd4909cad1a8c5bd290e21c02f990b5cb5df577 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.21 1997/09/08 02:28:32 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.22 1997/09/08 20:56:44 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -80,10 +80,10 @@ extern long int LocalBufferFlushCount;
 static int     WriteMode = BUFFER_LATE_WRITE;          /* Delayed write is
                                                                                                 * default */
 
-static void WaitIO(BufferDesc * buf, SPINLOCK spinlock);
+static void WaitIO(BufferDesc *buf, SPINLOCK spinlock);
 
 #ifndef HAS_TEST_AND_SET
-static void SignalIO(BufferDesc * buf);
+static void SignalIO(BufferDesc *buf);
 extern long *NWaitIOBackendP;  /* defined in buf_init.c */
 
 #endif                                                 /* HAS_TEST_AND_SET */
@@ -96,7 +96,7 @@ BufferAlloc(Relation reln, BlockNumber blockNum,
                        bool * foundPtr, bool bufferLockHeld);
 static int     FlushBuffer(Buffer buffer, bool release);
 static void BufferSync(void);
-static int     BufferReplace(BufferDesc * bufHdr, bool bufferLockHeld);
+static int     BufferReplace(BufferDesc *bufHdr, bool bufferLockHeld);
 
 /* ---------------------------------------------------
  * RelationGetBufferWithBuffer
@@ -1105,7 +1105,7 @@ BufferSync()
  */
 #ifdef HAS_TEST_AND_SET
 static void
-WaitIO(BufferDesc * buf, SPINLOCK spinlock)
+WaitIO(BufferDesc *buf, SPINLOCK spinlock)
 {
        SpinRelease(spinlock);
        S_LOCK(&(buf->io_in_progress_lock));
@@ -1117,7 +1117,7 @@ WaitIO(BufferDesc * buf, SPINLOCK spinlock)
 IpcSemaphoreId WaitIOSemId;
 
 static void
-WaitIO(BufferDesc * buf, SPINLOCK spinlock)
+WaitIO(BufferDesc *buf, SPINLOCK spinlock)
 {
        bool            inProgress;
 
@@ -1139,7 +1139,7 @@ WaitIO(BufferDesc * buf, SPINLOCK spinlock)
  * SignalIO --
  */
 static void
-SignalIO(BufferDesc * buf)
+SignalIO(BufferDesc *buf)
 {
        /* somebody better be waiting. */
        Assert(buf->refcount > 1);
@@ -1346,7 +1346,7 @@ BufferGetRelation(Buffer buffer)
  *
  */
 static int
-BufferReplace(BufferDesc * bufHdr, bool bufferLockHeld)
+BufferReplace(BufferDesc *bufHdr, bool bufferLockHeld)
 {
        Relation        reln;
        Oid                     bufdb,
@@ -1410,8 +1410,8 @@ BlockNumber
 RelationGetNumberOfBlocks(Relation relation)
 {
        return
-               ((relation->rd_islocal) ? relation->rd_nblocks :
-                smgrnblocks(relation->rd_rel->relsmgr, relation));
+       ((relation->rd_islocal) ? relation->rd_nblocks :
+        smgrnblocks(relation->rd_rel->relsmgr, relation));
 }
 
 /*
index 027a6a94670af2f2737767421c496c835c993a77..b2f9fd7e9ae223fc0142fe0bacf2613cc7ede0d4 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/storage/buffer/freelist.c,v 1.6 1997/09/08 02:28:33 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/storage/buffer/freelist.c,v 1.7 1997/09/08 20:56:47 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -59,7 +59,7 @@ extern SPINLOCK BufMgrLock;
  * Currently, they are added on an LRU basis.
  */
 void
-AddBufferToFreelist(BufferDesc * bf)
+AddBufferToFreelist(BufferDesc *bf)
 {
 #ifdef BMTRACE
        _bm_trace(bf->tag.relId.dbId, bf->tag.relId.relId, bf->tag.blockNum,
@@ -82,7 +82,7 @@ AddBufferToFreelist(BufferDesc * bf)
  * PinBuffer -- make buffer unavailable for replacement.
  */
 void
-PinBuffer(BufferDesc * buf)
+PinBuffer(BufferDesc *buf)
 {
        long            b;
 
@@ -114,7 +114,7 @@ PinBuffer(BufferDesc * buf)
 
 #ifdef NOT_USED
 void
-PinBuffer_Debug(char *file, int line, BufferDesc * buf)
+PinBuffer_Debug(char *file, int line, BufferDesc *buf)
 {
        PinBuffer(buf);
        if (ShowPinTrace)
@@ -136,7 +136,7 @@ refcount = %ld, file: %s, line: %d\n",
  * UnpinBuffer -- make buffer available for replacement.
  */
 void
-UnpinBuffer(BufferDesc * buf)
+UnpinBuffer(BufferDesc *buf)
 {
        long            b = BufferDescriptorGetBuffer(buf) - 1;
 
@@ -160,7 +160,7 @@ UnpinBuffer(BufferDesc * buf)
 
 #ifdef NOT_USED
 void
-UnpinBuffer_Debug(char *file, int line, BufferDesc * buf)
+UnpinBuffer_Debug(char *file, int line, BufferDesc *buf)
 {
        UnpinBuffer(buf);
        if (ShowPinTrace)
index bacd56b4548e50fb52549b203fa1960ceb062e0b..38cf0b47995ac132af36b6a7601bbee57c71e70f 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.15 1997/09/08 02:29:06 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.16 1997/09/08 20:56:50 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -66,7 +66,7 @@
 static HeapTuple
 inv_newtuple(LargeObjectDesc * obj_desc, Buffer buffer,
                         Page page, char *dbuf, int nwrite);
-static HeapTuple inv_fetchtup(LargeObjectDesc * obj_desc, Buffer * bufP);
+static HeapTuple inv_fetchtup(LargeObjectDesc * obj_desc, Buffer *bufP);
 static int     inv_wrnew(LargeObjectDesc * obj_desc, char *buf, int nbytes);
 static int
 inv_wrold(LargeObjectDesc * obj_desc, char *dbuf, int nbytes,
@@ -576,7 +576,7 @@ inv_write(LargeObjectDesc * obj_desc, char *buf, int nbytes)
  *                             such tuple exists.
  */
 static HeapTuple
-inv_fetchtup(LargeObjectDesc * obj_desc, Buffer * bufP)
+inv_fetchtup(LargeObjectDesc * obj_desc, Buffer *bufP)
 {
        HeapTuple       htup;
        RetrieveIndexResult res;
@@ -1035,7 +1035,7 @@ inv_newtuple(LargeObjectDesc * obj_desc,
         * *  mer fixed disk layout of varlenas to get rid of the need for
         * this. *
         *
-        *((int32 *) attptr) = nwrite + sizeof(int32); *  attptr +=
+        * ((int32 *) attptr) = nwrite + sizeof(int32); *  attptr +=
         * sizeof(int32);
         */
 
index a12c544e2eb39a4053798b6392ff127bda584963..0e66b0c857b9a90f16acb257e64e71af43741cbb 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/tcop/Attic/aclchk.c,v 1.15 1997/09/08 02:29:40 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/tcop/Attic/aclchk.c,v 1.16 1997/09/08 20:56:53 momjian Exp $
  *
  * NOTES
  *       See acl.h.
@@ -36,7 +36,7 @@
 #include "parser/catalog_utils.h"
 #include "fmgr.h"
 
-static int32 aclcheck(Acl * acl, AclId id, AclIdType idtype, AclMode mode);
+static int32 aclcheck(Acl *acl, AclId id, AclIdType idtype, AclMode mode);
 
 /*
  * Enable use of user relations in place of real system catalogs.
@@ -69,7 +69,7 @@ char     *aclcheck_error_strings[] = {
 
 #ifdef ACLDEBUG_TRACE
 static
-dumpacl(Acl * acl)
+dumpacl(Acl *acl)
 {
        register unsigned i;
        AclItem    *aip;
@@ -88,7 +88,7 @@ dumpacl(Acl * acl)
  */
 void
 ChangeAcl(char *relname,
-                 AclItem * mod_aip,
+                 AclItem *mod_aip,
                  unsigned modechg)
 {
        register unsigned i;
@@ -277,7 +277,7 @@ in_group(AclId uid, AclId gid)
  * any one of the requirements of 'mode'.  Returns 0 otherwise.
  */
 static int32
-aclcheck(Acl * acl, AclId id, AclIdType idtype, AclMode mode)
+aclcheck(Acl *acl, AclId id, AclIdType idtype, AclMode mode)
 {
        register unsigned i;
        register AclItem *aip,
index ba4f9d0badc5a19bf2fce17caa1da69839461985..8dc0292061a24f7438396e500b6853765f2ca043 100644 (file)
@@ -11,7 +11,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: tgRecipe.h,v 1.3 1997/09/08 02:30:12 momjian Exp $
+ * $Id: tgRecipe.h,v 1.4 1997/09/08 20:57:05 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -29,6 +29,7 @@ typedef struct
                                y;
 }                      Point;                          /* this should match whatever is in
 
+                                                                *
                                                                 *
                                                                 * geo-decls.h */
 
index d0acb4c69416b47fbceeb19fdcbcc2401fa48bb8..e1a2db85ff166e274c7fa494dbded804a4618bab 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.15 1997/09/08 02:30:15 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.16 1997/09/08 20:57:16 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -22,9 +22,9 @@
 #include "miscadmin.h"
 
 static char *getid(char *s, char *n);
-static int32 aclitemeq(AclItem * a1, AclItem * a2);
-static int32 aclitemgt(AclItem * a1, AclItem * a2);
-static char *aclparse(char *s, AclItem * aip, unsigned *modechg);
+static int32 aclitemeq(AclItem *a1, AclItem *a2);
+static int32 aclitemgt(AclItem *a1, AclItem *a2);
+static char *aclparse(char *s, AclItem *aip, unsigned *modechg);
 
 #define ACL_IDTYPE_GID_KEYWORD "group"
 #define ACL_IDTYPE_UID_KEYWORD "user"
@@ -83,7 +83,7 @@ getid(char *s, char *n)
  *             - loads 'modechg' with the mode change flag.
  */
 static char *
-aclparse(char *s, AclItem * aip, unsigned *modechg)
+aclparse(char *s, AclItem *aip, unsigned *modechg)
 {
        HeapTuple       htp;
        char            name[NAMEDATALEN];
@@ -240,7 +240,7 @@ aclitemin(char *s)
  *             the new string
  */
 char      *
-aclitemout(AclItem * aip)
+aclitemout(AclItem *aip)
 {
        register char *p;
        char       *out;
@@ -312,7 +312,7 @@ aclitemout(AclItem * aip)
  *             a boolean value indicating = or >
  */
 static int32
-aclitemeq(AclItem * a1, AclItem * a2)
+aclitemeq(AclItem *a1, AclItem *a2)
 {
        if (!a1 && !a2)
                return (1);
@@ -322,7 +322,7 @@ aclitemeq(AclItem * a1, AclItem * a2)
 }
 
 static int32
-aclitemgt(AclItem * a1, AclItem * a2)
+aclitemgt(AclItem *a1, AclItem *a2)
 {
        if (a1 && !a2)
                return (1);
@@ -364,7 +364,7 @@ acldefault(void)
 }
 
 Acl               *
-aclinsert3(Acl * old_acl, AclItem * mod_aip, unsigned modechg)
+aclinsert3(Acl *old_acl, AclItem *mod_aip, unsigned modechg)
 {
        Acl                *new_acl;
        AclItem    *old_aip,
@@ -481,13 +481,13 @@ aclinsert3(Acl * old_acl, AclItem * mod_aip, unsigned modechg)
  *
  */
 Acl               *
-aclinsert(Acl * old_acl, AclItem * mod_aip)
+aclinsert(Acl *old_acl, AclItem *mod_aip)
 {
        return (aclinsert3(old_acl, mod_aip, ACL_MODECHG_EQL));
 }
 
 Acl               *
-aclremove(Acl * old_acl, AclItem * mod_aip)
+aclremove(Acl *old_acl, AclItem *mod_aip)
 {
        Acl                *new_acl;
        AclItem    *old_aip,
@@ -547,7 +547,7 @@ aclremove(Acl * old_acl, AclItem * mod_aip)
 }
 
 int32
-aclcontains(Acl * acl, AclItem * aip)
+aclcontains(Acl *acl, AclItem *aip)
 {
        unsigned        i,
                                num;
index 15a603117981bad53b028ecd0ecc279779ccd972..7b1cb869a98e734d631f07bda9503380d9f4cc99 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.17 1997/09/08 02:30:19 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.18 1997/09/08 20:57:21 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -70,14 +70,14 @@ static char *_AdvanceBy1word(char *str, char **word);
 #endif
 static void
 _ArrayRange(int st[], int endp[], int bsize, char *destPtr,
-                       ArrayType * array, int from);
-static int     _ArrayClipCount(int stI[], int endpI[], ArrayType * array);
+                       ArrayType *array, int from);
+static int     _ArrayClipCount(int stI[], int endpI[], ArrayType *array);
 static void
 _LOArrayRange(int st[], int endp[], int bsize, int srcfd,
-                         int destfd, ArrayType * array, int isSrcLO, bool * isNull);
+                         int destfd, ArrayType *array, int isSrcLO, bool * isNull);
 static void
 _ReadArray(int st[], int endp[], int bsize, int srcfd, int destfd,
-                  ArrayType * array, int isDestLO, bool * isNull);
+                  ArrayType *array, int isDestLO, bool * isNull);
 static ArrayCastAndSet(char *src, bool typbyval, int typlen, char *dest);
 static SanityCheckInput(int ndim, int n, int dim[], int lb[], int indx[]);
 static int     array_read(char *destptr, int eltsize, int nitems, char *srcptr);
@@ -613,7 +613,7 @@ _CopyArrayEls(char **values,
  *-------------------------------------------------------------------------
  */
 char      *
-array_out(ArrayType * v, Oid element_type)
+array_out(ArrayType *v, Oid element_type)
 {
        int                     typlen;
        bool            typbyval;
@@ -771,7 +771,7 @@ array_out(ArrayType * v, Oid element_type)
  *----------------------------------------------------------------------------
  */
 char      *
-array_dims(ArrayType * v, bool * isNull)
+array_dims(ArrayType *v, bool * isNull)
 {
        char       *p,
                           *save_p;
@@ -810,7 +810,7 @@ array_dims(ArrayType * v, bool * isNull)
  *---------------------------------------------------------------------------
  */
 Datum
-array_ref(ArrayType * array,
+array_ref(ArrayType *array,
                  int n,
                  int indx[],
                  int reftype,
@@ -931,7 +931,7 @@ array_ref(ArrayType * array,
  *-----------------------------------------------------------------------------
  */
 Datum
-array_clip(ArrayType * array,
+array_clip(ArrayType *array,
                   int n,
                   int upperIndx[],
                   int lowerIndx[],
@@ -1073,7 +1073,7 @@ array_clip(ArrayType * array,
  *-----------------------------------------------------------------------------
  */
 char      *
-array_set(ArrayType * array,
+array_set(ArrayType *array,
                  int n,
                  int indx[],
                  char *dataPtr,
@@ -1208,11 +1208,11 @@ array_set(ArrayType * array,
  *----------------------------------------------------------------------------
  */
 char      *
-array_assgn(ArrayType * array,
+array_assgn(ArrayType *array,
                        int n,
                        int upperIndx[],
                        int lowerIndx[],
-                       ArrayType * newArr,
+                       ArrayType *newArr,
                        int reftype,
                        int len,
                        bool * isNull)
@@ -1283,7 +1283,7 @@ array_assgn(ArrayType * array,
  *-----------------------------------------------------------------------------
  */
 int
-array_eq(ArrayType * array1, ArrayType * array2)
+array_eq(ArrayType *array1, ArrayType *array2)
 {
        if ((array1 == NULL) || (array2 == NULL))
                return (0);
@@ -1445,7 +1445,7 @@ _ArrayRange(int st[],
                        int endp[],
                        int bsize,
                        char *destPtr,
-                       ArrayType * array,
+                       ArrayType *array,
                        int from)
 {
        int                     n,
@@ -1487,7 +1487,7 @@ _ArrayRange(int st[],
 }
 
 static int
-_ArrayClipCount(int stI[], int endpI[], ArrayType * array)
+_ArrayClipCount(int stI[], int endpI[], ArrayType *array)
 {
        int                     n,
                           *dim,
@@ -1568,7 +1568,7 @@ _LOArrayRange(int st[],
                          int bsize,
                          int srcfd,
                          int destfd,
-                         ArrayType * array,
+                         ArrayType *array,
                          int isSrcLO,
                          bool * isNull)
 {
@@ -1622,7 +1622,7 @@ _ReadArray(int st[],
                   int bsize,
                   int srcfd,
                   int destfd,
-                  ArrayType * array,
+                  ArrayType *array,
                   int isDestLO,
                   bool * isNull)
 {
index db5a6827a90412c557440033157046b19136116a..61f999b6700c7e1ce1350569cff213c07d32e228 100644 (file)
@@ -12,7 +12,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/utils/adt/char.c,v 1.9 1997/09/08 02:30:29 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/utils/adt/char.c,v 1.10 1997/09/08 20:57:22 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -138,46 +138,55 @@ chareq(int8 arg1, int8 arg2)
 {
        return (arg1 == arg2);
 }
+
 bool
 charne(int8 arg1, int8 arg2)
 {
        return (arg1 != arg2);
 }
+
 bool
 charlt(int8 arg1, int8 arg2)
 {
        return ((uint8) arg1 < (uint8) arg2);
 }
+
 bool
 charle(int8 arg1, int8 arg2)
 {
        return ((uint8) arg1 <= (uint8) arg2);
 }
+
 bool
 chargt(int8 arg1, int8 arg2)
 {
        return ((uint8) arg1 > (uint8) arg2);
 }
+
 bool
 charge(int8 arg1, int8 arg2)
 {
        return ((uint8) arg1 >= (uint8) arg2);
 }
+
 int8
 charpl(int8 arg1, int8 arg2)
 {
        return (arg1 + arg2);
 }
+
 int8
 charmi(int8 arg1, int8 arg2)
 {
        return (arg1 - arg2);
 }
+
 int8
 charmul(int8 arg1, int8 arg2)
 {
        return (arg1 * arg2);
 }
+
 int8
 chardiv(int8 arg1, int8 arg2)
 {
index 021b7268676474f2c346f12e7987023843953421..353a221859ce45ca499bea3043e4c2990ea1a277 100644 (file)
@@ -6,7 +6,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/chunk.c,v 1.8 1997/09/08 02:30:31 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/chunk.c,v 1.9 1997/09/08 20:57:24 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -439,7 +439,7 @@ _ReadChunkArray(int st[],
                                int bsize,
                                int fp,
                                char *destfp,
-                               ArrayType * array,
+                               ArrayType *array,
                                int isDestLO,
                                bool * isNull)
 {
@@ -637,7 +637,7 @@ struct varlena *
 _ReadChunkArray1El(int st[],
                                   int bsize,
                                   int fp,
-                                  ArrayType * array,
+                                  ArrayType *array,
                                   bool * isNull)
 {
        int                     i,
index 5a88e2bf3244cf1ab6b840dcb7ecf53017dd54d2..7543780cffa768fe033cf6bddd6437e07a54e938 100644 (file)
@@ -9,7 +9,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.16 1997/09/08 02:30:32 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.17 1997/09/08 20:57:26 momjian Exp $
  *
  * NOTES
  *      This code is actually (almost) unused.
@@ -104,8 +104,8 @@ static int  correct_dir(char direction[], int *signptr);
 
 static int
 istinterval(char *i_string,
-                       AbsoluteTime * i_start,
-                       AbsoluteTime * i_end);
+                       AbsoluteTime *i_start,
+                       AbsoluteTime *i_end);
 
 /*****************************************************************************
  *      USER I/O ROUTINES                                                                                                               *
@@ -952,8 +952,8 @@ correct_dir(char direction[], int *signptr)
  */
 static int
 istinterval(char *i_string,
-                       AbsoluteTime * i_start,
-                       AbsoluteTime * i_end)
+                       AbsoluteTime *i_start,
+                       AbsoluteTime *i_end)
 {
        register char *p,
                           *p1;
index ac3bb85398123fcda25dfeeb7bb9c0109c90e487..95287601bc508b1d574f8844f1a0bf50b2d745ca 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.21 1997/09/08 02:30:42 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.22 1997/09/08 20:57:29 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 static int     point_inside(Point * p, int npts, Point plist[]);
 static int     lseg_crossing(double x, double y, double px, double py);
 static BOX *box_construct(double x1, double x2, double y1, double y2);
-static BOX *box_copy(BOX * box);
-static BOX *box_fill(BOX * result, double x1, double x2, double y1, double y2);
-static double box_ht(BOX * box);
-static double box_wd(BOX * box);
+static BOX *box_copy(BOX *box);
+static BOX *box_fill(BOX *result, double x1, double x2, double y1, double y2);
+static double box_ht(BOX *box);
+static double box_wd(BOX *box);
 static double circle_ar(CIRCLE * circle);
 static CIRCLE *circle_copy(CIRCLE * circle);
 static LINE *line_construct_pm(Point * pt, double m);
@@ -57,7 +57,7 @@ static int    pair_count(char *s, char delim);
 static int     path_decode(int opentype, int npts, char *str, int *isopen, char **ss, Point * p);
 static char *path_encode(bool closed, int npts, Point * pt);
 static void statlseg_construct(LSEG * lseg, Point * pt1, Point * pt2);
-static double box_ar(BOX * box);
+static double box_ar(BOX *box);
 static Point *interpt_sl(LSEG * lseg, LINE * line);
 static LINE *line_construct_pp(Point * pt1, Point * pt2);
 
@@ -384,7 +384,7 @@ box_in(char *str)
 /*             box_out -               convert a box to external form.
  */
 char      *
-box_out(BOX * box)
+box_out(BOX *box)
 {
        if (!PointerIsValid(box))
                return (NULL);
@@ -407,7 +407,7 @@ box_construct(double x1, double x2, double y1, double y2)
 /*             box_fill                -               fill in a static box
  */
 static BOX *
-box_fill(BOX * result, double x1, double x2, double y1, double y2)
+box_fill(BOX *result, double x1, double x2, double y1, double y2)
 {
        if (x1 > x2)
        {
@@ -437,7 +437,7 @@ box_fill(BOX * result, double x1, double x2, double y1, double y2)
 /*             box_copy                -               copy a box
  */
 static BOX *
-box_copy(BOX * box)
+box_copy(BOX *box)
 {
        BOX                *result = PALLOCTYPE(BOX);
 
@@ -455,7 +455,7 @@ box_copy(BOX * box)
 /*             box_same                -               are two boxes identical?
  */
 bool
-box_same(BOX * box1, BOX * box2)
+box_same(BOX *box1, BOX *box2)
 {
        return ((FPeq(box1->high.x, box2->high.x) && FPeq(box1->low.x, box2->low.x)) &&
        (FPeq(box1->high.y, box2->high.y) && FPeq(box1->low.y, box2->low.y)));
@@ -464,7 +464,7 @@ box_same(BOX * box1, BOX * box2)
 /*             box_overlap             -               does box1 overlap box2?
  */
 bool
-box_overlap(BOX * box1, BOX * box2)
+box_overlap(BOX *box1, BOX *box2)
 {
        return (((FPge(box1->high.x, box2->high.x) && FPle(box1->low.x, box2->high.x)) ||
                         (FPge(box2->high.x, box1->high.x) && FPle(box2->low.x, box1->high.x))) &&
@@ -479,7 +479,7 @@ box_overlap(BOX * box1, BOX * box2)
  *             when time ranges are stored as rectangles.
  */
 bool
-box_overleft(BOX * box1, BOX * box2)
+box_overleft(BOX *box1, BOX *box2)
 {
        return (FPle(box1->high.x, box2->high.x));
 }
@@ -487,7 +487,7 @@ box_overleft(BOX * box1, BOX * box2)
 /*             box_left                -               is box1 strictly left of box2?
  */
 bool
-box_left(BOX * box1, BOX * box2)
+box_left(BOX *box1, BOX *box2)
 {
        return (FPlt(box1->high.x, box2->low.x));
 }
@@ -495,7 +495,7 @@ box_left(BOX * box1, BOX * box2)
 /*             box_right               -               is box1 strictly right of box2?
  */
 bool
-box_right(BOX * box1, BOX * box2)
+box_right(BOX *box1, BOX *box2)
 {
        return (FPgt(box1->low.x, box2->high.x));
 }
@@ -507,7 +507,7 @@ box_right(BOX * box1, BOX * box2)
  *             are stored as rectangles.
  */
 bool
-box_overright(BOX * box1, BOX * box2)
+box_overright(BOX *box1, BOX *box2)
 {
        return (box1->low.x >= box2->low.x);
 }
@@ -515,7 +515,7 @@ box_overright(BOX * box1, BOX * box2)
 /*             box_contained   -               is box1 contained by box2?
  */
 bool
-box_contained(BOX * box1, BOX * box2)
+box_contained(BOX *box1, BOX *box2)
 {
        return ((FPle(box1->high.x, box2->high.x) && FPge(box1->low.x, box2->low.x)) &&
        (FPle(box1->high.y, box2->high.y) && FPge(box1->low.y, box2->low.y)));
@@ -524,7 +524,7 @@ box_contained(BOX * box1, BOX * box2)
 /*             box_contain             -               does box1 contain box2?
  */
 bool
-box_contain(BOX * box1, BOX * box2)
+box_contain(BOX *box1, BOX *box2)
 {
        return ((FPge(box1->high.x, box2->high.x) && FPle(box1->low.x, box2->low.x) &&
        FPge(box1->high.y, box2->high.y) && FPle(box1->low.y, box2->low.y)));
@@ -535,13 +535,13 @@ box_contain(BOX * box1, BOX * box2)
  *                             is box1 entirely {above,below} box2?
  */
 bool
-box_below(BOX * box1, BOX * box2)
+box_below(BOX *box1, BOX *box2)
 {
        return (FPle(box1->high.y, box2->low.y));
 }
 
 bool
-box_above(BOX * box1, BOX * box2)
+box_above(BOX *box1, BOX *box2)
 {
        return (FPge(box1->low.y, box2->high.y));
 }
@@ -551,31 +551,31 @@ box_above(BOX * box1, BOX * box2)
  *                                                             our accuracy constraint?
  */
 bool
-box_lt(BOX * box1, BOX * box2)
+box_lt(BOX *box1, BOX *box2)
 {
        return (FPlt(box_ar(box1), box_ar(box2)));
 }
 
 bool
-box_gt(BOX * box1, BOX * box2)
+box_gt(BOX *box1, BOX *box2)
 {
        return (FPgt(box_ar(box1), box_ar(box2)));
 }
 
 bool
-box_eq(BOX * box1, BOX * box2)
+box_eq(BOX *box1, BOX *box2)
 {
        return (FPeq(box_ar(box1), box_ar(box2)));
 }
 
 bool
-box_le(BOX * box1, BOX * box2)
+box_le(BOX *box1, BOX *box2)
 {
        return (FPle(box_ar(box1), box_ar(box2)));
 }
 
 bool
-box_ge(BOX * box1, BOX * box2)
+box_ge(BOX *box1, BOX *box2)
 {
        return (FPge(box_ar(box1), box_ar(box2)));
 }
@@ -593,7 +593,7 @@ box_ge(BOX * box1, BOX * box2)
 /*             box_area                -               returns the area of the box.
  */
 double    *
-box_area(BOX * box)
+box_area(BOX *box)
 {
        double     *result = PALLOCTYPE(double);
 
@@ -607,7 +607,7 @@ box_area(BOX * box)
  *                                                               (horizontal magnitude).
  */
 double    *
-box_width(BOX * box)
+box_width(BOX *box)
 {
        double     *result = PALLOCTYPE(double);
 
@@ -621,7 +621,7 @@ box_width(BOX * box)
  *                                                               (vertical magnitude).
  */
 double    *
-box_height(BOX * box)
+box_height(BOX *box)
 {
        double     *result = PALLOCTYPE(double);
 
@@ -635,7 +635,7 @@ box_height(BOX * box)
  *                                                               center points of two boxes.
  */
 double    *
-box_distance(BOX * box1, BOX * box2)
+box_distance(BOX *box1, BOX *box2)
 {
        double     *result = PALLOCTYPE(double);
        Point      *a,
@@ -654,7 +654,7 @@ box_distance(BOX * box1, BOX * box2)
 /*             box_center              -               returns the center point of the box.
  */
 Point     *
-box_center(BOX * box)
+box_center(BOX *box)
 {
        Point      *result = PALLOCTYPE(Point);
 
@@ -668,7 +668,7 @@ box_center(BOX * box)
 /*             box_ar  -               returns the area of the box.
  */
 static double
-box_ar(BOX * box)
+box_ar(BOX *box)
 {
        return (box_wd(box) * box_ht(box));
 }
@@ -678,7 +678,7 @@ box_ar(BOX * box)
  *                                                               (horizontal magnitude).
  */
 static double
-box_wd(BOX * box)
+box_wd(BOX *box)
 {
        return (box->high.x - box->low.x);
 }
@@ -688,7 +688,7 @@ box_wd(BOX * box)
  *                                                               (vertical magnitude).
  */
 static double
-box_ht(BOX * box)
+box_ht(BOX *box)
 {
        return (box->high.y - box->low.y);
 }
@@ -699,7 +699,7 @@ box_ht(BOX * box)
  */
 #ifdef NOT_USED
 static double
-box_dt(BOX * box1, BOX * box2)
+box_dt(BOX *box1, BOX *box2)
 {
        double          result;
        Point      *a,
@@ -725,7 +725,7 @@ box_dt(BOX * box1, BOX * box2)
  *                               or NULL if they do not intersect.
  */
 BOX               *
-box_intersect(BOX * box1, BOX * box2)
+box_intersect(BOX *box1, BOX *box2)
 {
        BOX                *result;
 
@@ -749,7 +749,7 @@ box_intersect(BOX * box1, BOX * box2)
  *                             provided, of course, we have LSEGs.
  */
 LSEG      *
-box_diagonal(BOX * box)
+box_diagonal(BOX *box)
 {
        Point           p1,
                                p2;
@@ -1928,7 +1928,7 @@ dist_ppath(Point * pt, PATH * path)
 }
 
 double    *
-dist_pb(Point * pt, BOX * box)
+dist_pb(Point * pt, BOX *box)
 {
        Point      *tmp;
        double     *result;
@@ -1973,7 +1973,7 @@ dist_sl(LSEG * lseg, LINE * line)
 
 
 double    *
-dist_sb(LSEG * lseg, BOX * box)
+dist_sb(LSEG * lseg, BOX *box)
 {
        Point      *tmp;
        double     *result;
@@ -1995,7 +1995,7 @@ dist_sb(LSEG * lseg, BOX * box)
 
 
 double    *
-dist_lb(LINE * line, BOX * box)
+dist_lb(LINE * line, BOX *box)
 {
        Point      *tmp;
        double     *result;
@@ -2227,7 +2227,7 @@ close_ps(Point * pt, LSEG * lseg)
 }                                                              /* close_ps() */
 
 Point     *
-close_pb(Point * pt, BOX * box)
+close_pb(Point * pt, BOX *box)
 {
        /* think about this one for a while */
        elog(WARN, "close_pb not implemented", NULL);
@@ -2258,7 +2258,7 @@ close_sl(LSEG * lseg, LINE * line)
 }
 
 Point     *
-close_sb(LSEG * lseg, BOX * box)
+close_sb(LSEG * lseg, BOX *box)
 {
        /* think about this one for a while */
        elog(WARN, "close_sb not implemented", NULL);
@@ -2267,7 +2267,7 @@ close_sb(LSEG * lseg, BOX * box)
 }
 
 Point     *
-close_lb(LINE * line, BOX * box)
+close_lb(LINE * line, BOX *box)
 {
        /* think about this one for a while */
        elog(WARN, "close_lb not implemented", NULL);
@@ -2308,7 +2308,7 @@ on_ps(Point * pt, LSEG * lseg)
 }
 
 bool
-on_pb(Point * pt, BOX * box)
+on_pb(Point * pt, BOX *box)
 {
        if (!PointerIsValid(pt) || !PointerIsValid(box))
                return (FALSE);
@@ -2433,7 +2433,7 @@ on_sl(LSEG * lseg, LINE * line)
 }                                                              /* on_sl() */
 
 bool
-on_sb(LSEG * lseg, BOX * box)
+on_sb(LSEG * lseg, BOX *box)
 {
        if (!PointerIsValid(lseg) || !PointerIsValid(box))
                return (FALSE);
@@ -2466,7 +2466,7 @@ inter_sl(LSEG * lseg, LINE * line)
 /* XXX segment and box should be able to intersect; tgl - 97/01/09 */
 
 bool
-inter_sb(LSEG * lseg, BOX * box)
+inter_sb(LSEG * lseg, BOX *box)
 {
        return (0);
 }
@@ -2474,7 +2474,7 @@ inter_sb(LSEG * lseg, BOX * box)
 /* XXX line and box should be able to intersect; tgl - 97/01/09 */
 
 bool
-inter_lb(LINE * line, BOX * box)
+inter_lb(LINE * line, BOX *box)
 {
        return (0);
 }
@@ -2887,7 +2887,7 @@ box(Point * p1, Point * p2)
 }                                                              /* box() */
 
 BOX               *
-box_add(BOX * box, Point * p)
+box_add(BOX *box, Point * p)
 {
        BOX                *result;
 
@@ -2901,7 +2901,7 @@ box_add(BOX * box, Point * p)
 }                                                              /* box_add() */
 
 BOX               *
-box_sub(BOX * box, Point * p)
+box_sub(BOX *box, Point * p)
 {
        BOX                *result;
 
@@ -2915,7 +2915,7 @@ box_sub(BOX * box, Point * p)
 }                                                              /* box_sub() */
 
 BOX               *
-box_mul(BOX * box, Point * p)
+box_mul(BOX *box, Point * p)
 {
        BOX                *result;
        Point      *high,
@@ -2935,7 +2935,7 @@ box_mul(BOX * box, Point * p)
 }                                                              /* box_mul() */
 
 BOX               *
-box_div(BOX * box, Point * p)
+box_div(BOX *box, Point * p)
 {
        BOX                *result;
        Point      *high,
@@ -3273,7 +3273,7 @@ poly_box(POLYGON * poly)
  * Convert a box to a polygon.
  */
 POLYGON    *
-box_poly(BOX * box)
+box_poly(BOX *box)
 {
        POLYGON    *poly;
        int                     size;
@@ -3958,7 +3958,7 @@ circle_box(CIRCLE * circle)
  * Convert a box to a circle.
  */
 CIRCLE    *
-box_circle(BOX * box)
+box_circle(BOX *box)
 {
        CIRCLE     *circle;
 
index b194519617559186ab740bd9be7148d8f857a7cf..1eaededbf2dd2572a3ae6b49956b7050cd2045f7 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.6 1997/09/08 02:30:45 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.7 1997/09/08 20:57:32 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -248,26 +248,31 @@ int4eq(int32 arg1, int32 arg2)
 {
        return (arg1 == arg2);
 }
+
 bool
 int4ne(int32 arg1, int32 arg2)
 {
        return (arg1 != arg2);
 }
+
 bool
 int4lt(int32 arg1, int32 arg2)
 {
        return (arg1 < arg2);
 }
+
 bool
 int4le(int32 arg1, int32 arg2)
 {
        return (arg1 <= arg2);
 }
+
 bool
 int4gt(int32 arg1, int32 arg2)
 {
        return (arg1 > arg2);
 }
+
 bool
 int4ge(int32 arg1, int32 arg2)
 {
@@ -279,26 +284,31 @@ int2eq(int16 arg1, int16 arg2)
 {
        return (arg1 == arg2);
 }
+
 bool
 int2ne(int16 arg1, int16 arg2)
 {
        return (arg1 != arg2);
 }
+
 bool
 int2lt(int16 arg1, int16 arg2)
 {
        return (arg1 < arg2);
 }
+
 bool
 int2le(int16 arg1, int16 arg2)
 {
        return (arg1 <= arg2);
 }
+
 bool
 int2gt(int16 arg1, int16 arg2)
 {
        return (arg1 > arg2);
 }
+
 bool
 int2ge(int16 arg1, int16 arg2)
 {
@@ -310,26 +320,31 @@ int24eq(int32 arg1, int32 arg2)
 {
        return (arg1 == arg2);
 }
+
 bool
 int24ne(int32 arg1, int32 arg2)
 {
        return (arg1 != arg2);
 }
+
 bool
 int24lt(int32 arg1, int32 arg2)
 {
        return (arg1 < arg2);
 }
+
 bool
 int24le(int32 arg1, int32 arg2)
 {
        return (arg1 <= arg2);
 }
+
 bool
 int24gt(int32 arg1, int32 arg2)
 {
        return (arg1 > arg2);
 }
+
 bool
 int24ge(int32 arg1, int32 arg2)
 {
@@ -341,26 +356,31 @@ int42eq(int32 arg1, int32 arg2)
 {
        return (arg1 == arg2);
 }
+
 bool
 int42ne(int32 arg1, int32 arg2)
 {
        return (arg1 != arg2);
 }
+
 bool
 int42lt(int32 arg1, int32 arg2)
 {
        return (arg1 < arg2);
 }
+
 bool
 int42le(int32 arg1, int32 arg2)
 {
        return (arg1 <= arg2);
 }
+
 bool
 int42gt(int32 arg1, int32 arg2)
 {
        return (arg1 > arg2);
 }
+
 bool
 int42ge(int32 arg1, int32 arg2)
 {
@@ -385,26 +405,31 @@ int4um(int32 arg)
 {
        return (-arg);
 }
+
 int32
 int4pl(int32 arg1, int32 arg2)
 {
        return (arg1 + arg2);
 }
+
 int32
 int4mi(int32 arg1, int32 arg2)
 {
        return (arg1 - arg2);
 }
+
 int32
 int4mul(int32 arg1, int32 arg2)
 {
        return (arg1 * arg2);
 }
+
 int32
 int4div(int32 arg1, int32 arg2)
 {
        return (arg1 / arg2);
 }
+
 int32
 int4inc(int32 arg)
 {
@@ -416,26 +441,31 @@ int2um(int16 arg)
 {
        return (-arg);
 }
+
 int16
 int2pl(int16 arg1, int16 arg2)
 {
        return (arg1 + arg2);
 }
+
 int16
 int2mi(int16 arg1, int16 arg2)
 {
        return (arg1 - arg2);
 }
+
 int16
 int2mul(int16 arg1, int16 arg2)
 {
        return (arg1 * arg2);
 }
+
 int16
 int2div(int16 arg1, int16 arg2)
 {
        return (arg1 / arg2);
 }
+
 int16
 int2inc(int16 arg)
 {
@@ -447,16 +477,19 @@ int24pl(int32 arg1, int32 arg2)
 {
        return (arg1 + arg2);
 }
+
 int32
 int24mi(int32 arg1, int32 arg2)
 {
        return (arg1 - arg2);
 }
+
 int32
 int24mul(int32 arg1, int32 arg2)
 {
        return (arg1 * arg2);
 }
+
 int32
 int24div(int32 arg1, int32 arg2)
 {
@@ -468,16 +501,19 @@ int42pl(int32 arg1, int32 arg2)
 {
        return (arg1 + arg2);
 }
+
 int32
 int42mi(int32 arg1, int32 arg2)
 {
        return (arg1 - arg2);
 }
+
 int32
 int42mul(int32 arg1, int32 arg2)
 {
        return (arg1 * arg2);
 }
+
 int32
 int42div(int32 arg1, int32 arg2)
 {
@@ -492,16 +528,19 @@ int4mod(int32 arg1, int32 arg2)
 {
        return (arg1 % arg2);
 }
+
 int32
 int2mod(int16 arg1, int16 arg2)
 {
        return (arg1 % arg2);
 }
+
 int32
 int24mod(int32 arg1, int32 arg2)
 {
        return (arg1 % arg2);
 }
+
 int32
 int42mod(int32 arg1, int32 arg2)
 {
index cc343f4d3e160c2cc4fc0f5d2b0e444381549772..bd76c639d291346556030109ef03ed73d8235927 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.6 1997/09/08 02:31:12 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.7 1997/09/08 20:57:39 momjian Exp $
  *
  * Note - this code is real crufty...
  *
@@ -60,7 +60,7 @@ typedef union AnyInvalidation
 {
        CatalogInvalidationData catalog;
        RelationInvalidationData relation;
-}                      AnyInvalidation;
+} AnyInvalidation;
 
 typedef struct InvalidationMessageData
 {
index f78d8b5f320731b9a717a12a10c2550744afad08..db98bdc83d3443a54c13d75611508d9d760e9044 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.7 1997/09/08 02:32:05 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.8 1997/09/08 20:57:46 momjian Exp $
  *
  * NOTE
  *       XXX This is a preliminary implementation which lacks fail-fast
@@ -46,7 +46,7 @@ typedef struct AllocElemData
 {
        OrderedElemData elemData;       /* elem in AllocSet */
        Size            size;
-}                      AllocElemData;
+} AllocElemData;
 
 typedef AllocElemData *AllocElem;
 
index 7409b62873d4640dcc83ec4b9aa792d59d7e5e1e..82b0f71bea466ffece251bc834c16006b4223f15 100644 (file)
@@ -21,7 +21,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.42 1997/09/08 02:32:45 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.43 1997/09/08 20:57:50 momjian Exp $
  *
  * Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
  *
@@ -1027,7 +1027,7 @@ clearIndInfo(IndInfo * ind, int numIndices)
 }
 
 void
-clearAggInfo(AggInfo * agginfo, int numArgs)
+clearAggInfo(AggInfo *agginfo, int numArgs)
 {
        int                     i;
 
@@ -1837,7 +1837,7 @@ dumpOprs(FILE * fout, OprInfo * oprinfo, int numOperators,
  *
  */
 void
-dumpAggs(FILE * fout, AggInfo * agginfo, int numAggs,
+dumpAggs(FILE * fout, AggInfo *agginfo, int numAggs,
                 TypeInfo * tinfo, int numTypes)
 {
        int                     i;
index cf50bee06e0d460d415d0b1da8989699d2595de2..ba5da2dc6de7c31e376ce68b26719389052a4d1e 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pg_dump.h,v 1.21 1997/09/08 02:32:50 momjian Exp $
+ * $Id: pg_dump.h,v 1.22 1997/09/08 20:57:56 momjian Exp $
  *
  * Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2
  *
@@ -124,7 +124,7 @@ typedef struct _aggInfo
        char       *agginitval1;
        char       *agginitval2;
        char       *usename;
-}                      AggInfo;
+} AggInfo;
 
 typedef struct _oprInfo
 {
@@ -216,7 +216,7 @@ extern void
 dumpFuncs(FILE * fout, FuncInfo * finfo, int numFuncs,
                  TypeInfo * tinfo, int numTypes);
 extern void
-dumpAggs(FILE * fout, AggInfo * agginfo, int numAggregates,
+dumpAggs(FILE * fout, AggInfo *agginfo, int numAggregates,
                 TypeInfo * tinfo, int numTypes);
 extern void
 dumpOprs(FILE * fout, OprInfo * agginfo, int numOperators,
index c80d206cb0c0ef1d3104df1871101f5ecb3ac0af..5c04951aa4a47e97983312f9ecaa19b543e87bac 100644 (file)
@@ -189,7 +189,7 @@ typedef struct intrange
 extern void
 gistbuild(Relation heap,
                  Relation index, int natts,
-                 AttrNumber * attnum, IndexStrategy istrat,
+                 AttrNumber *attnum, IndexStrategy istrat,
                  uint16 pint, Datum * params,
                  FuncIndexInfo * finfo,
                  PredInfo * predInfo);
index f9b93e0de779ddcc6e27a6558ca7ad7b59f7eb5e..7d45a7e5b920aa0916f1772cff86d2913ff242de 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: hash.h,v 1.9 1997/09/08 02:34:08 momjian Exp $
+ * $Id: hash.h,v 1.10 1997/09/08 20:58:02 momjian Exp $
  *
  * NOTES
  *             modeled after Margo Seltzer's hash implementation for unix.
@@ -250,7 +250,7 @@ typedef HashItemData *HashItem;
 
 extern void
 hashbuild(Relation heap, Relation index, int natts,
-                 AttrNumber * attnum, IndexStrategy istrat, uint16 pcount,
+                 AttrNumber *attnum, IndexStrategy istrat, uint16 pcount,
                  Datum * params, FuncIndexInfo * finfo, PredInfo * predInfo);
 extern         InsertIndexResult
 hashinsert(Relation rel, Datum * datum, char *nulls,
@@ -286,7 +286,7 @@ extern InsertIndexResult _hash_doinsert(Relation rel, HashItem hitem);
 
 
 /* hashovfl.c */
-extern Buffer _hash_addovflpage(Relation rel, Buffer * metabufp, Buffer buf);
+extern Buffer _hash_addovflpage(Relation rel, Buffer *metabufp, Buffer buf);
 extern Buffer _hash_freeovflpage(Relation rel, Buffer ovflbuf);
 extern         int32
 _hash_initbitmap(Relation rel, HashMetaPage metap, int32 pnum,
@@ -303,7 +303,7 @@ extern void _hash_relbuf(Relation rel, Buffer buf, int access);
 extern void _hash_wrtbuf(Relation rel, Buffer buf);
 extern void _hash_wrtnorelbuf(Relation rel, Buffer buf);
 extern         Page
-_hash_chgbufaccess(Relation rel, Buffer * bufp, int from_access,
+_hash_chgbufaccess(Relation rel, Buffer *bufp, int from_access,
                                   int to_access);
 extern void _hash_pageinit(Page page, Size size);
 extern void _hash_pagedel(Relation rel, ItemPointer tid);
@@ -319,11 +319,11 @@ extern void _hash_adjscans(Relation rel, ItemPointer tid);
 /* hashsearch.c */
 extern void
 _hash_search(Relation rel, int keysz, ScanKey scankey,
-                        Buffer * bufP, HashMetaPage metap);
+                        Buffer *bufP, HashMetaPage metap);
 extern RetrieveIndexResult _hash_next(IndexScanDesc scan, ScanDirection dir);
 extern RetrieveIndexResult _hash_first(IndexScanDesc scan, ScanDirection dir);
 extern         bool
-_hash_step(IndexScanDesc scan, Buffer * bufP, ScanDirection dir,
+_hash_step(IndexScanDesc scan, Buffer *bufP, ScanDirection dir,
                   Buffer metabuf);
 
 
index c82b23e742c51781910c4a229ab03e5c52a643bc..d3e2ae5bbe8bc3bbd991ad4a667cc06f6766fe28 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: heapam.h,v 1.13 1997/09/08 02:34:10 momjian Exp $
+ * $Id: heapam.h,v 1.14 1997/09/08 20:58:03 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -122,10 +122,10 @@ heap_beginscan(Relation relation, int atend,
                           TimeQual timeQual, unsigned nkeys, ScanKey key);
 extern void heap_rescan(HeapScanDesc sdesc, bool scanFromEnd, ScanKey key);
 extern void heap_endscan(HeapScanDesc sdesc);
-extern HeapTuple heap_getnext(HeapScanDesc scandesc, int backw, Buffer * b);
+extern HeapTuple heap_getnext(HeapScanDesc scandesc, int backw, Buffer *b);
 extern         HeapTuple
 heap_fetch(Relation relation, TimeQual timeQual,
-                  ItemPointer tid, Buffer * b);
+                  ItemPointer tid, Buffer *b);
 extern Oid     heap_insert(Relation relation, HeapTuple tup);
 extern int     heap_delete(Relation relation, ItemPointer tid);
 extern int
index 813e557d55cb691badf747f1302d237868affcb8..e902bbf228b6b4705069a0441f6827e89df2e2f5 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nbtree.h,v 1.16 1997/09/08 02:34:17 momjian Exp $
+ * $Id: nbtree.h,v 1.17 1997/09/08 20:58:09 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -50,7 +50,7 @@ typedef struct BTPageOpaqueData
 #define BTP_META               (1 << 3)
 #define BTP_CHAIN              (1 << 4)
 
-}                      BTPageOpaqueData;
+} BTPageOpaqueData;
 
 typedef BTPageOpaqueData *BTPageOpaque;
 
@@ -74,7 +74,7 @@ typedef struct BTScanOpaqueData
        uint16          numberOfFirstKeys;              /* number of keys for 1st
                                                                                 * attribute */
        ScanKey         keyData;                /* key descriptor */
-}                      BTScanOpaqueData;
+} BTScanOpaqueData;
 
 typedef BTScanOpaqueData *BTScanOpaque;
 
@@ -104,7 +104,7 @@ typedef struct BTItemData
                                                                 * 8-byte boundary */
 #endif
        IndexTupleData bti_itup;
-}                      BTItemData;
+} BTItemData;
 
 typedef BTItemData *BTItem;
 
@@ -135,7 +135,7 @@ typedef struct BTStackData
        OffsetNumber bts_offset;
        BTItem          bts_btitem;
        struct BTStackData *bts_parent;
-}                      BTStackData;
+} BTStackData;
 
 typedef BTStackData *BTStack;
 
@@ -149,7 +149,7 @@ typedef struct BTPageState
        int                     btps_level;
        bool            btps_doupper;
        struct BTPageState *btps_next;
-}                      BTPageState;
+} BTPageState;
 
 /*
  *     We need to be able to tell the difference between read and write
@@ -243,7 +243,7 @@ extern bool BuildingBtree;          /* in nbtree.c */
 
 extern void
 btbuild(Relation heap, Relation index, int natts,
-               AttrNumber * attnum, IndexStrategy istrat, uint16 pcount,
+               AttrNumber *attnum, IndexStrategy istrat, uint16 pcount,
                Datum * params, FuncIndexInfo * finfo, PredInfo * predInfo);
 extern         InsertIndexResult
 btinsert(Relation rel, Datum * datum, char *nulls,
@@ -270,10 +270,10 @@ extern void _bt_adjscans(Relation rel, ItemPointer tid, int op);
 /*
  * prototypes for functions in nbtsearch.c
  */
-extern         BTStack
+extern BTStack
 _bt_search(Relation rel, int keysz, ScanKey scankey,
-                  Buffer * bufP);
-extern         Buffer
+                  Buffer *bufP);
+extern Buffer
 _bt_moveright(Relation rel, Buffer buf, int keysz,
                          ScanKey scankey, int access);
 extern         bool
@@ -284,7 +284,7 @@ _bt_binsrch(Relation rel, Buffer buf, int keysz,
                        ScanKey scankey, int srchtype);
 extern RetrieveIndexResult _bt_next(IndexScanDesc scan, ScanDirection dir);
 extern RetrieveIndexResult _bt_first(IndexScanDesc scan, ScanDirection dir);
-extern bool _bt_step(IndexScanDesc scan, Buffer * bufP, ScanDirection dir);
+extern bool _bt_step(IndexScanDesc scan, Buffer *bufP, ScanDirection dir);
 
 /*
  * prototypes for functions in nbtstrat.c
index e8c05bdd2990309838d9a48b77a1d58fd04b7032..57ceffd03cde3bbb9bdc9496a4acbd746c4b57a6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: rtree.h,v 1.8 1997/09/08 02:34:23 momjian Exp $
+ * $Id: rtree.h,v 1.9 1997/09/08 20:58:11 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -130,7 +130,7 @@ extern void rtrestrpos(IndexScanDesc s);
 extern void rtrescan(IndexScanDesc s, bool fromEnd, ScanKey key);
 extern void
 rtbuild(Relation heap, Relation index, int natts,
-               AttrNumber * attnum, IndexStrategy istrat, uint16 pcount,
+               AttrNumber *attnum, IndexStrategy istrat, uint16 pcount,
                Datum * params, FuncIndexInfo * finfo, PredInfo * predInfo);
 extern void _rtdump(Relation r);
 
index 222a45f8f7b2abdbd2e31bd8a4a33bdb75d8932e..be8436790ab856b2a5d55aabc61f7758265b94c4 100644 (file)
@@ -7,7 +7,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: strat.h,v 1.6 1997/09/08 02:34:27 momjian Exp $
+ * $Id: strat.h,v 1.7 1997/09/08 20:58:12 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -25,6 +25,7 @@ typedef struct StrategyTransformMapData
        StrategyNumber strategy[1]; /* VARIABLE LENGTH ARRAY */
 }                      StrategyTransformMapData;       /* VARIABLE LENGTH
 
+                                                                                *
                                                                                 *
                                                                                 * STRUCTURE */
 
index 7a898c4eb5da1734280affc5dafcee4c4ae0821e..db95804e16e072cb902dcf2d259cb12f4597c387 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: transam.h,v 1.9 1997/09/08 02:34:27 momjian Exp $
+ * $Id: transam.h,v 1.10 1997/09/08 20:58:12 momjian Exp $
  *
  *      NOTES
  *             Transaction System Version 101 now support proper oid
@@ -154,7 +154,7 @@ extern void TransactionIdAbort(TransactionId transactionId);
 extern void AmiTransactionOverride(bool flag);
 extern void
 TransComputeBlockNumber(Relation relation,
-                        TransactionId transactionId, BlockNumber * blockNumberOutP);
+                         TransactionId transactionId, BlockNumber *blockNumberOutP);
 extern         XidStatus
 TransBlockNumberGetXidStatus(Relation relation,
                           BlockNumber blockNumber, TransactionId xid, bool * failP);
@@ -162,7 +162,7 @@ extern void
 TransBlockNumberSetXidStatus(Relation relation,
                   BlockNumber blockNumber, TransactionId xid, XidStatus xstatus,
                                                         bool * failP);
-extern         AbsoluteTime
+extern AbsoluteTime
 TransBlockNumberGetCommitTime(Relation relation,
                           BlockNumber blockNumber, TransactionId xid, bool * failP);
 extern void
index 870098b2c0d8743fffd30503ec3966e5323ac325..fe7939119c96da78b792f8caeee8241b640353ca 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: tupdesc.h,v 1.10 1997/09/08 02:34:31 momjian Exp $
+ * $Id: tupdesc.h,v 1.11 1997/09/08 20:58:13 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -23,7 +23,7 @@ typedef struct attrDefault
        AttrNumber      adnum;
        char       *adbin;
        char       *adsrc;
-}                      AttrDefault;
+} AttrDefault;
 
 typedef struct constrCheck
 {
@@ -57,7 +57,7 @@ typedef struct tupleDesc
 
 extern TupleDesc CreateTemplateTupleDesc(int natts);
 
-extern TupleDesc CreateTupleDesc(int natts, AttributeTupleForm * attrs);
+extern TupleDesc CreateTupleDesc(int natts, AttributeTupleForm *attrs);
 
 extern TupleDesc CreateTupleDescCopy(TupleDesc tupdesc);
 
index ccf54e892ae7d092840353d536b0687128c972e0..463709ed228cd0eddac60764ff60458ab19bf65d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: bootstrap.h,v 1.7 1997/09/08 02:34:36 momjian Exp $
+ * $Id: bootstrap.h,v 1.8 1997/09/08 20:58:15 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -37,7 +37,7 @@ extern void
 index_register(char *heap,
                           char *ind,
                           int natts,
-                          AttrNumber * attnos,
+                          AttrNumber *attnos,
                           uint16 nparams,
                           Datum * params,
                           FuncIndexInfo * finfo,
index 01110ba9fc28229d4100f14931605ebbdbef8110..35c7e7fb5c7ddbf3656d4bfc140c2b626c9c550a 100644 (file)
@@ -6,16 +6,16 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeAgg.h,v 1.3 1997/09/08 02:36:21 momjian Exp $
+ * $Id: nodeAgg.h,v 1.4 1997/09/08 20:58:17 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODEAGG_H
 #define NODEAGG_H
 
-extern TupleTableSlot *ExecAgg(Agg * node);
-extern bool ExecInitAgg(Agg * node, EState * estate, Plan * parent);
-extern int     ExecCountSlotsAgg(Agg * node);
-extern void ExecEndAgg(Agg * node);
+extern TupleTableSlot *ExecAgg(Agg *node);
+extern bool ExecInitAgg(Agg *node, EState * estate, Plan * parent);
+extern int     ExecCountSlotsAgg(Agg *node);
+extern void ExecEndAgg(Agg *node);
 
 #endif                                                 /* NODEAGG_H */
index 0ad131a7c4e831151036ae1d84bac4d3675a7c87..e546503910e13ad7c1bd633ae7c72a50ababb097 100644 (file)
@@ -6,16 +6,16 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeAppend.h,v 1.4 1997/09/08 02:36:22 momjian Exp $
+ * $Id: nodeAppend.h,v 1.5 1997/09/08 20:58:19 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODEAPPEND_H
 #define NODEAPPEND_H
 
-extern bool ExecInitAppend(Append * node, EState * estate, Plan * parent);
-extern int     ExecCountSlotsAppend(Append * node);
-extern TupleTableSlot *ExecProcAppend(Append * node);
-extern void ExecEndAppend(Append * node);
+extern bool ExecInitAppend(Append *node, EState * estate, Plan * parent);
+extern int     ExecCountSlotsAppend(Append *node);
+extern TupleTableSlot *ExecProcAppend(Append *node);
+extern void ExecEndAppend(Append *node);
 
 #endif                                                 /* NODEAPPEND_H */
index 83c76aa269093a91158720bdb24f4830a5bbb593..f565900a5d5ba7f01747ed34c0ad1f98d07b1b48 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pqcomm.h,v 1.12 1997/09/08 02:37:08 momjian Exp $
+ * $Id: pqcomm.h,v 1.13 1997/09/08 20:58:26 momjian Exp $
  *
  * NOTES
  *       Some of this should move to libpq.h
@@ -111,7 +111,7 @@ typedef struct Port
 
        /*
         * PacketBufId                          id;
-        *//* id of packet buf currently in use */
+*//* id of packet buf currently in use */
        PacketBuf       buf;                    /* stream implementation (curr pack buf) */
 }                      Port;
 
index f8ad7675a5ee64f836b702f2027b4a1929e9b3b5..a2cafdc6426119a07169e04fbd5cef7e49ece897 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: execnodes.h,v 1.10 1997/09/08 02:37:12 momjian Exp $
+ * $Id: execnodes.h,v 1.11 1997/09/08 20:58:40 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -328,7 +328,7 @@ typedef struct AppendState
        List       *as_rtentries;
        List       *as_result_relation_info_list;
        List       *as_junkFilter_list;
-}                      AppendState;
+} AppendState;
 
 /* ----------------------------------------------------------------
  *                              Scan State Information
@@ -574,7 +574,7 @@ typedef struct AggState
 {
        CommonScanState csstate;        /* its first field is NodeTag */
        bool            agg_done;
-}                      AggState;
+} AggState;
 
 /* ---------------------
  *     GroupState information
index aa311129159ff6fbc653a647fd0fdcc709e5add9..97890a37a8592db5353f68ecb84b60e5473db9df 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: parsenodes.h,v 1.25 1997/09/08 02:37:23 momjian Exp $
+ * $Id: parsenodes.h,v 1.26 1997/09/08 20:58:47 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -86,7 +86,7 @@ typedef struct AddAttrStmt
        char       *relname;            /* the relation to add attr */
        bool            inh;                    /* add recursively to children? */
        struct ColumnDef *colDef;       /* the attribute definition */
-}                      AddAttrStmt;
+} AddAttrStmt;
 
 /* ----------------------
  *             Change ACL Statement
@@ -132,7 +132,7 @@ typedef struct CopyStmt
 typedef enum ArchType
 {
        ARCH_NONE, ARCH_LIGHT, ARCH_HEAVY       /* archive mode */
-}                      ArchType;
+} ArchType;
 
 typedef struct CreateStmt
 {
@@ -562,7 +562,7 @@ typedef struct AppendStmt
        List       *targetList;         /* the target list (of ResTarget) */
        List       *fromClause;         /* the from clause */
        Node       *whereClause;        /* qualifications */
-}                      AppendStmt;
+} AppendStmt;
 
 /* ----------------------
  *             Delete Statement
@@ -676,7 +676,7 @@ typedef struct A_Expr
        char       *opname;                     /* name of operator/function */
        Node       *lexpr;                      /* left argument */
        Node       *rexpr;                      /* right argument */
-}                      A_Expr;
+} A_Expr;
 
 /*
  * Attr -
@@ -692,7 +692,7 @@ typedef struct Attr
        List       *attrs;                      /* attributes (possibly nested); list of
                                                                 * Values (strings) */
        List       *indirection;        /* array refs (list of A_Indices') */
-}                      Attr;
+} Attr;
 
 /*
  * A_Const - a constant expression
@@ -702,7 +702,7 @@ typedef struct A_Const
        NodeTag         type;
        Value           val;                    /* the value (with the tag) */
        TypeName   *typename;           /* typecast */
-}                      A_Const;
+} A_Const;
 
 /*
  * ColumnDef - column definition (used in various creates)
@@ -750,7 +750,7 @@ typedef struct A_Indices
        NodeTag         type;
        Node       *lidx;                       /* could be NULL */
        Node       *uidx;
-}                      A_Indices;
+} A_Indices;
 
 /*
  * ResTarget -
index 6942d206fb8480622f8b83a206453c8e994585e9..c20b9b6376463f20a78804fab43026afb24edf1a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: plannodes.h,v 1.8 1997/09/08 02:37:26 momjian Exp $
+ * $Id: plannodes.h,v 1.9 1997/09/08 20:58:48 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -129,7 +129,7 @@ typedef struct Append
        Index           unionrelid;
        List       *unionrtentries;
        AppendState *unionstate;
-}                      Append;
+} Append;
 
 /*
  * ==========
@@ -223,7 +223,7 @@ typedef struct Agg
        int                     numAgg;
        Aggreg    **aggs;
        AggState   *aggstate;
-}                      Agg;
+} Agg;
 
 /* ---------------
  *      group node -
index e28c31288577bcaf7a38c1dbc381ea414a2dc5f1..733a7c06ff287eb51b87cdf546ce69bab1bfabcd 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: primnodes.h,v 1.9 1997/09/08 02:37:27 momjian Exp $
+ * $Id: primnodes.h,v 1.10 1997/09/08 20:58:50 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -267,7 +267,7 @@ typedef struct Aggreg
        Oid                     aggtype;                /* type of final result */
        Node       *target;                     /* attribute to aggreg on */
        int                     aggno;                  /* index to ecxt_values */
-}                      Aggreg;
+} Aggreg;
 
 /* ----------------
  * Array
@@ -294,7 +294,7 @@ typedef struct Array
        IntArray        arraylow;
        IntArray        arrayhigh;
        int                     arraylen;
-}                      Array;
+} Array;
 
 /* ----------------
  *     ArrayRef:
@@ -319,6 +319,6 @@ typedef struct ArrayRef
        List       *reflowerindexpr;
        Node       *refexpr;
        Node       *refassgnexpr;
-}                      ArrayRef;
+} ArrayRef;
 
 #endif                                                 /* PRIMNODES_H */
index 358b772b3f99c3744771503122b62832b9f54978..d3a4ef63d6bd5bbe1273b3964f3887f24a98113a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: clauses.h,v 1.5 1997/09/08 02:37:34 momjian Exp $
+ * $Id: clauses.h,v 1.6 1997/09/08 20:58:54 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -44,10 +44,10 @@ extern void fix_opid(Node * clause);
 extern List *fix_opids(List * clauses);
 extern void
 get_relattval(Node * clause, int *relid,
-                         AttrNumber * attno, Datum * constval, int *flag);
+                         AttrNumber *attno, Datum * constval, int *flag);
 extern void
 get_rels_atts(Node * clause, int *relid1,
-                         AttrNumber * attno1, int *relid2, AttrNumber * attno2);
+                         AttrNumber *attno1, int *relid2, AttrNumber *attno2);
 extern void CommuteClause(Node * clause);
 
 #endif                                                 /* CLAUSES_H */
index 2d9c41391a8152e382608ef3ead08f0ef341e7bb..af165358123276db60106a98a8421df0f85c60ea 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: planmain.h,v 1.3 1997/09/08 02:37:55 momjian Exp $
+ * $Id: planmain.h,v 1.4 1997/09/08 20:58:56 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -32,10 +32,10 @@ make_seqscan(List * qptlist, List * qpqual, Index scanrelid,
 extern Sort *
 make_sort(List * tlist, Oid tempid, Plan * lefttree,
                  int keycount);
-extern Agg *make_agg(List * tlist, int nagg, Aggreg ** aggs);
+extern Agg *make_agg(List * tlist, int nagg, Aggreg **aggs);
 extern Group *
 make_group(List * tlist, bool tuplePerGroup, int ngrp,
-                  AttrNumber * grpColIdx, Sort * lefttree);
+                  AttrNumber *grpColIdx, Sort * lefttree);
 extern Unique *make_unique(List * tlist, Plan * lefttree, char *uniqueAttr);
 extern List *generate_fjoin(List * tlist);
 
@@ -59,8 +59,8 @@ extern List *
 index_outerjoin_references(List * inner_indxqual,
                                                   List * outer_tlist, Index inner_relid);
 extern void set_result_tlist_references(Result * resultNode);
-extern void set_agg_tlist_references(Agg * aggNode);
-extern void set_agg_agglist_references(Agg * aggNode);
+extern void set_agg_tlist_references(Agg *aggNode);
+extern void set_agg_agglist_references(Agg *aggNode);
 
 
 #endif                                                 /* PLANMAIN_H */
index a057122438e896562e580ed3f40d5a8bc60548a8..02b181174f0a44cf7f3130fd63be74cf6f9bec0a 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: block.h,v 1.4 1997/09/08 02:38:55 momjian Exp $
+ * $Id: block.h,v 1.5 1997/09/08 20:58:59 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -51,7 +51,7 @@ typedef struct BlockIdData
 {
        uint16          bi_hi;
        uint16          bi_lo;
-}                      BlockIdData;
+} BlockIdData;
 
 typedef BlockIdData *BlockId;  /* block identifier */
 
index 482b15d9d1079e61a451ba697159d58d0fd99006..be40014b0bc27880a627adf4214e9174f35c750e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: buf_internals.h,v 1.16 1997/09/08 02:38:57 momjian Exp $
+ * $Id: buf_internals.h,v 1.17 1997/09/08 20:59:00 momjian Exp $
  *
  * NOTE
  *             If BUFFERPAGE0 is defined, then 0 will be used as a
@@ -203,18 +203,18 @@ typedef struct _bmtrace
 /* Internal routines: only called by buf.c */
 
 /*freelist.c*/
-extern void AddBufferToFreelist(BufferDesc * bf);
-extern void PinBuffer(BufferDesc * buf);
-extern void PinBuffer_Debug(char *file, int line, BufferDesc * buf);
-extern void UnpinBuffer(BufferDesc * buf);
+extern void AddBufferToFreelist(BufferDesc *bf);
+extern void PinBuffer(BufferDesc *buf);
+extern void PinBuffer_Debug(char *file, int line, BufferDesc *buf);
+extern void UnpinBuffer(BufferDesc *buf);
 extern BufferDesc *GetFreeBuffer(void);
 extern void InitFreeList(bool init);
 
 /* buf_table.c */
 extern void InitBufTable(void);
 extern BufferDesc *BufTableLookup(BufferTag * tagPtr);
-extern bool BufTableDelete(BufferDesc * buf);
-extern bool BufTableInsert(BufferDesc * buf);
+extern bool BufTableDelete(BufferDesc *buf);
+extern bool BufTableInsert(BufferDesc *buf);
 
 /* bufmgr.c */
 extern BufferDesc *BufferDescriptors;
index 9f65b80f6720acd6d611ff390f7e9bad1c20cdab..469eca4de288f3bb33749ee8d8033d32ee6131e2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: bufmgr.h,v 1.13 1997/09/08 02:38:58 momjian Exp $
+ * $Id: bufmgr.h,v 1.14 1997/09/08 20:59:05 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -71,13 +71,13 @@ extern int  ShowPinTrace;
 /*
  * prototypes for functions in bufmgr.c
  */
-extern         Buffer
+extern Buffer
 RelationGetBufferWithBuffer(Relation relation,
                                                        BlockNumber blockNumber, Buffer buffer);
 extern Buffer ReadBuffer(Relation reln, BlockNumber blockNum);
 extern int     WriteBuffer(Buffer buffer);
 extern int     WriteNoReleaseBuffer(Buffer buffer);
-extern         Buffer
+extern Buffer
 ReleaseAndReadBuffer(Buffer buffer, Relation relation,
                                         BlockNumber blockNum);
 
index 997c8c1c5e57838c09c584fdcb16975310d30e6b..a11783f91d0f9470b594ad40616f548cf0d0df75 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: shmem.h,v 1.7 1997/09/08 02:39:08 momjian Exp $
+ * $Id: shmem.h,v 1.8 1997/09/08 20:59:07 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -91,7 +91,7 @@ typedef struct
        char            key[BTABLE_KEYSIZE];    /* string name */
        unsigned long location;         /* location in shared mem */
        unsigned long size;                     /* numbytes allocated for the structure */
-}                      BindingEnt;
+} BindingEnt;
 
 /*
  * prototypes for functions in shmqueue.c
index 62e472f8e16dad5c36c61406d58f38b0467c2268..fcf6ca32ece0a139d24ba991346b8926073b4d76 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: acl.h,v 1.9 1997/09/08 02:39:24 momjian Exp $
+ * $Id: acl.h,v 1.10 1997/09/08 20:59:15 momjian Exp $
  *
  * NOTES
  *       For backward-compatability purposes we have to allow there
@@ -74,7 +74,7 @@ typedef struct AclItem
        AclId           ai_id;
        AclIdType       ai_idtype;
        AclMode         ai_mode;
-}                      AclItem;
+} AclItem;
 
 /* Note: if the size of AclItem changes,
    change the aclitem typlen in pg_type.h */
@@ -137,7 +137,7 @@ extern char *aclcheck_error_strings[];
  */
 extern Acl *aclownerdefault(AclId ownerid);
 extern Acl *acldefault(void);
-extern Acl *aclinsert3(Acl * old_acl, AclItem * mod_aip, unsigned modechg);
+extern Acl *aclinsert3(Acl *old_acl, AclItem *mod_aip, unsigned modechg);
 
 extern char *aclmakepriv(char *old_privlist, char new_priv);
 extern char *aclmakeuser(char *user_type, char *user);
@@ -150,15 +150,15 @@ makeAclStmt(char *privs, List * rel_list, char *grantee,
  */
 extern Acl *makeacl(int n);
 extern AclItem *aclitemin(char *s);
-extern char *aclitemout(AclItem * aip);
-extern Acl *aclinsert(Acl * old_acl, AclItem * mod_aip);
-extern Acl *aclremove(Acl * old_acl, AclItem * mod_aip);
-extern int32 aclcontains(Acl * acl, AclItem * aip);
+extern char *aclitemout(AclItem *aip);
+extern Acl *aclinsert(Acl *old_acl, AclItem *mod_aip);
+extern Acl *aclremove(Acl *old_acl, AclItem *mod_aip);
+extern int32 aclcontains(Acl *acl, AclItem *aip);
 
 /*
  * prototypes for functions in aclchk.c
  */
-extern void ChangeAcl(char *relname, AclItem * mod_aip, unsigned modechg);
+extern void ChangeAcl(char *relname, AclItem *mod_aip, unsigned modechg);
 extern AclId get_grosysid(char *groname);
 extern char *get_groname(AclId grosysid);
 
index 8e8b216fd6a579c8998189072a784de4335033a4..b8116065d4b86baa4a8c7e3081ab2a5685058802 100644 (file)
@@ -10,7 +10,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: array.h,v 1.6 1997/09/08 02:39:26 momjian Exp $
+ * $Id: array.h,v 1.7 1997/09/08 20:59:18 momjian Exp $
  *
  * NOTES
  *       XXX the data array should be LONGALIGN'd -- notice that the array
@@ -29,7 +29,7 @@ typedef struct
        int                     size;                   /* total array size (in bytes) */
        int                     ndim;                   /* # of dimensions */
        int                     flags;                  /* implementation flags */
-}                      ArrayType;
+} ArrayType;
 
 /*
  * bitmask of ArrayType flags field:
@@ -115,22 +115,22 @@ typedef struct
  * prototypes for functions defined in arrayfuncs.c
  */
 extern char *array_in(char *string, Oid element_type);
-extern char *array_out(ArrayType * v, Oid element_type);
-extern char *array_dims(ArrayType * v, bool * isNull);
+extern char *array_out(ArrayType *v, Oid element_type);
+extern char *array_dims(ArrayType *v, bool * isNull);
 extern         Datum
-array_ref(ArrayType * array, int n, int indx[], int reftype,
+array_ref(ArrayType *array, int n, int indx[], int reftype,
                  int elmlen, int arraylen, bool * isNull);
 extern         Datum
-array_clip(ArrayType * array, int n, int upperIndx[],
+array_clip(ArrayType *array, int n, int upperIndx[],
                   int lowerIndx[], int reftype, int len, bool * isNull);
 extern char *
-array_set(ArrayType * array, int n, int indx[], char *dataPtr,
+array_set(ArrayType *array, int n, int indx[], char *dataPtr,
                  int reftype, int elmlen, int arraylen, bool * isNull);
 extern char *
-array_assgn(ArrayType * array, int n, int upperIndx[],
-                       int lowerIndx[], ArrayType * newArr, int reftype,
+array_assgn(ArrayType *array, int n, int upperIndx[],
+                       int lowerIndx[], ArrayType *newArr, int reftype,
                        int len, bool * isNull);
-extern int     array_eq(ArrayType * array1, ArrayType * array2);
+extern int     array_eq(ArrayType *array1, ArrayType *array2);
 extern int
 _LOtransfer(char **destfd, int size, int nitems, char **srcfd,
                        int isSrcLO, int isDestLO);
@@ -161,10 +161,10 @@ _ChunkArray(int fd, FILE * afd, int ndim, int dim[], int baseSize,
                        int *nbytes, char *chunkfile);
 extern int
 _ReadChunkArray(int st[], int endp[], int bsize, int fp,
-                  char *destfp, ArrayType * array, int isDestLO, bool * isNull);
+                       char *destfp, ArrayType *array, int isDestLO, bool * isNull);
 extern struct varlena *
 _ReadChunkArray1El(int st[], int bsize, int fp,
-                                  ArrayType * array, bool * isNull);
+                                  ArrayType *array, bool * isNull);
 
 
 #endif                                                 /* ARRAY_H */
index cba39b62ac80563ff181d6b7406d482f9945007c..f7fc9d2190486e4d9be32adb843f764a95269792 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: builtins.h,v 1.23 1997/09/08 02:39:32 momjian Exp $
+ * $Id: builtins.h,v 1.24 1997/09/08 20:59:19 momjian Exp $
  *
  * NOTES
  *       This should normally only be included by fmgr.h.
@@ -199,10 +199,10 @@ extern int32 btnamecmp(NameData * a, NameData * b);
 extern int32 bttextcmp(struct varlena * a, struct varlena * b);
 
 /* support routines for the rtree access method, by opclass */
-extern BOX *rt_box_union(BOX * a, BOX * b);
-extern BOX *rt_box_inter(BOX * a, BOX * b);
-extern void rt_box_size(BOX * a, float *size);
-extern void rt_bigbox_size(BOX * a, float *size);
+extern BOX *rt_box_union(BOX *a, BOX *b);
+extern BOX *rt_box_inter(BOX *a, BOX *b);
+extern void rt_box_size(BOX *a, float *size);
+extern void rt_bigbox_size(BOX *a, float *size);
 extern void rt_poly_size(POLYGON * a, float *size);
 extern POLYGON *rt_poly_union(POLYGON * a, POLYGON * b);
 extern POLYGON *rt_poly_inter(POLYGON * a, POLYGON * b);
@@ -338,7 +338,7 @@ extern bool float84gt(float64 arg1, float32 arg2);
 extern bool float84ge(float64 arg1, float32 arg2);
 
 /* geo_ops.c, geo_selfuncs.c */
-extern double *box_area(BOX * box);
+extern double *box_area(BOX *box);
 
 /* misc.c */
 extern bool nullvalue(Datum value, bool * isNull);
index 55b57742183ae1313624a9a24b81f5a4238defe5..be308f28ae80148cae6154fa630e30f2525c752e 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: geo_decls.h,v 1.10 1997/09/08 02:39:46 momjian Exp $
+ * $Id: geo_decls.h,v 1.11 1997/09/08 20:59:21 momjian Exp $
  *
  * NOTE
  *       These routines do *not* use the float types from adt/.
@@ -120,7 +120,7 @@ typedef struct
 {
        Point           high,
                                low;                    /* corner POINTs */
-}                      BOX;
+} BOX;
 
 /*---------------------------------------------------------------------
  * POLYGON - Specified by an array of doubles defining the points,
@@ -187,65 +187,65 @@ extern Point *lseg_interpt(LSEG * l1, LSEG * l2);
 extern double *dist_pl(Point * pt, LINE * line);
 extern double *dist_ps(Point * pt, LSEG * lseg);
 extern double *dist_ppath(Point * pt, PATH * path);
-extern double *dist_pb(Point * pt, BOX * box);
+extern double *dist_pb(Point * pt, BOX *box);
 extern double *dist_sl(LSEG * lseg, LINE * line);
-extern double *dist_sb(LSEG * lseg, BOX * box);
-extern double *dist_lb(LINE * line, BOX * box);
+extern double *dist_sb(LSEG * lseg, BOX *box);
+extern double *dist_lb(LINE * line, BOX *box);
 extern Point *close_pl(Point * pt, LINE * line);
 extern Point *close_ps(Point * pt, LSEG * lseg);
-extern Point *close_pb(Point * pt, BOX * box);
+extern Point *close_pb(Point * pt, BOX *box);
 extern Point *close_sl(LSEG * lseg, LINE * line);
-extern Point *close_sb(LSEG * lseg, BOX * box);
-extern Point *close_lb(LINE * line, BOX * box);
+extern Point *close_sb(LSEG * lseg, BOX *box);
+extern Point *close_lb(LINE * line, BOX *box);
 extern bool on_pl(Point * pt, LINE * line);
 extern bool on_ps(Point * pt, LSEG * lseg);
-extern bool on_pb(Point * pt, BOX * box);
+extern bool on_pb(Point * pt, BOX *box);
 extern bool on_ppath(Point * pt, PATH * path);
 extern bool on_sl(LSEG * lseg, LINE * line);
-extern bool on_sb(LSEG * lseg, BOX * box);
+extern bool on_sb(LSEG * lseg, BOX *box);
 extern bool inter_sl(LSEG * lseg, LINE * line);
-extern bool inter_sb(LSEG * lseg, BOX * box);
-extern bool inter_lb(LINE * line, BOX * box);
+extern bool inter_sb(LSEG * lseg, BOX *box);
+extern bool inter_lb(LINE * line, BOX *box);
 
 /* private routines */
 extern LSEG *lseg_construct(Point * pt1, Point * pt2);
 
 /* public box routines */
 extern BOX *box_in(char *str);
-extern char *box_out(BOX * box);
-extern bool box_same(BOX * box1, BOX * box2);
-extern bool box_overlap(BOX * box1, BOX * box2);
-extern bool box_overleft(BOX * box1, BOX * box2);
-extern bool box_left(BOX * box1, BOX * box2);
-extern bool box_right(BOX * box1, BOX * box2);
-extern bool box_overright(BOX * box1, BOX * box2);
-extern bool box_contained(BOX * box1, BOX * box2);
-extern bool box_contain(BOX * box1, BOX * box2);
-extern bool box_below(BOX * box1, BOX * box2);
-extern bool box_above(BOX * box1, BOX * box2);
-extern bool box_lt(BOX * box1, BOX * box2);
-extern bool box_gt(BOX * box1, BOX * box2);
-extern bool box_eq(BOX * box1, BOX * box2);
-extern bool box_le(BOX * box1, BOX * box2);
-extern bool box_ge(BOX * box1, BOX * box2);
-extern Point *box_center(BOX * box);
-extern double *box_area(BOX * box);
-extern double *box_width(BOX * box);
-extern double *box_height(BOX * box);
-extern double *box_distance(BOX * box1, BOX * box2);
-extern Point *box_center(BOX * box);
-extern BOX *box_intersect(BOX * box1, BOX * box2);
-extern LSEG *box_diagonal(BOX * box);
+extern char *box_out(BOX *box);
+extern bool box_same(BOX *box1, BOX *box2);
+extern bool box_overlap(BOX *box1, BOX *box2);
+extern bool box_overleft(BOX *box1, BOX *box2);
+extern bool box_left(BOX *box1, BOX *box2);
+extern bool box_right(BOX *box1, BOX *box2);
+extern bool box_overright(BOX *box1, BOX *box2);
+extern bool box_contained(BOX *box1, BOX *box2);
+extern bool box_contain(BOX *box1, BOX *box2);
+extern bool box_below(BOX *box1, BOX *box2);
+extern bool box_above(BOX *box1, BOX *box2);
+extern bool box_lt(BOX *box1, BOX *box2);
+extern bool box_gt(BOX *box1, BOX *box2);
+extern bool box_eq(BOX *box1, BOX *box2);
+extern bool box_le(BOX *box1, BOX *box2);
+extern bool box_ge(BOX *box1, BOX *box2);
+extern Point *box_center(BOX *box);
+extern double *box_area(BOX *box);
+extern double *box_width(BOX *box);
+extern double *box_height(BOX *box);
+extern double *box_distance(BOX *box1, BOX *box2);
+extern Point *box_center(BOX *box);
+extern BOX *box_intersect(BOX *box1, BOX *box2);
+extern LSEG *box_diagonal(BOX *box);
 
 /* private routines */
 
-extern double box_dt(BOX * box1, BOX * box2);
+extern double box_dt(BOX *box1, BOX *box2);
 
 extern BOX *box(Point * p1, Point * p2);
-extern BOX *box_add(BOX * box, Point * p);
-extern BOX *box_sub(BOX * box, Point * p);
-extern BOX *box_mul(BOX * box, Point * p);
-extern BOX *box_div(BOX * box, Point * p);
+extern BOX *box_add(BOX *box, Point * p);
+extern BOX *box_sub(BOX *box, Point * p);
+extern BOX *box_mul(BOX *box, Point * p);
+extern BOX *box_div(BOX *box, Point * p);
 
 /* private line routines */
 extern double *line_distance(LINE * l1, LINE * l2);
@@ -301,7 +301,7 @@ extern int4 poly_npoints(POLYGON * poly);
 extern Point *poly_center(POLYGON * poly);
 extern BOX *poly_box(POLYGON * poly);
 extern PATH *poly_path(POLYGON * poly);
-extern POLYGON *box_poly(BOX * box);
+extern POLYGON *box_poly(BOX *box);
 
 extern POLYGON *upgradepoly(POLYGON * poly);
 extern POLYGON *revertpoly(POLYGON * poly);
@@ -341,7 +341,7 @@ extern double *dist_pc(Point * point, CIRCLE * circle);
 extern double *dist_cpoly(CIRCLE * circle, POLYGON * poly);
 extern Point *circle_center(CIRCLE * circle);
 extern CIRCLE *circle(Point * center, float8 * radius);
-extern CIRCLE *box_circle(BOX * box);
+extern CIRCLE *box_circle(BOX *box);
 extern BOX *circle_box(CIRCLE * circle);
 extern CIRCLE *poly_circle(POLYGON * poly);
 extern POLYGON *circle_poly(int npts, CIRCLE * circle);
index 8e9c184b9c6c7ef328dbf803055a8414cb910920..c84ea249972bba4df3e1021e7d19d29a0567b32c 100644 (file)
@@ -15,7 +15,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: memutils.h,v 1.10 1997/09/08 02:39:50 momjian Exp $
+ * $Id: memutils.h,v 1.11 1997/09/08 20:59:22 momjian Exp $
  *
  * NOTES
  *       some of the information in this file will be moved to
@@ -193,7 +193,7 @@ typedef enum AllocMode
        StaticAllocMode,                        /* always "statically" allocate */
        TunableAllocMode,                       /* allocations are "tuned" */
        BoundedAllocMode                        /* allocations bounded to fixed usage */
-}                      AllocMode;
+} AllocMode;
 
 #define DefaultAllocMode               DynamicAllocMode
 
@@ -205,7 +205,7 @@ typedef struct AllocSetData
 {
        OrderedSetData setData;
        /* Note: this will change in the future to support other modes */
-}                      AllocSetData;
+} AllocSetData;
 
 typedef AllocSetData *AllocSet;
 
@@ -228,7 +228,7 @@ extern void AllocSetReset(AllocSet set);
 extern bool AllocSetContains(AllocSet set, AllocPointer pointer);
 extern AllocPointer AllocSetAlloc(AllocSet set, Size size);
 extern void AllocSetFree(AllocSet set, AllocPointer pointer);
-extern         AllocPointer
+extern AllocPointer
 AllocSetRealloc(AllocSet set, AllocPointer pointer,
                                Size size);
 
index d6b2fe246f68a4fc72a7cf735c9ed29abf38f6e5..2258bbbd4a5189cd0520862dfecfe288a1b42065 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Header: /cvsroot/pgsql/src/test/regress/regress.c,v 1.11 1997/09/08 02:40:56 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/test/regress/regress.c,v 1.12 1997/09/08 20:59:27 momjian Exp $
  */
 
 #include <float.h>                             /* faked on sunos */
@@ -24,7 +24,7 @@ extern PATH *poly2path(POLYGON * poly);
 extern Point *interpt_pp(PATH * p1, PATH * p2);
 extern void regress_lseg_construct(LSEG * lseg, Point * pt1, Point * pt2);
 extern char overpaid(TUPLE tuple);
-extern int     boxarea(BOX * box);
+extern int     boxarea(BOX *box);
 extern char *reverse_c16(char *string);
 
 /*