Carefully merge in Bruce's include file changes ... commit'd only after a
authorMarc G. Fournier <[email protected]>
Fri, 30 Jul 1999 17:07:23 +0000 (17:07 +0000)
committerMarc G. Fournier <[email protected]>
Fri, 30 Jul 1999 17:07:23 +0000 (17:07 +0000)
clean compile ...

18 files changed:
src/include/storage/multilev.h
src/include/storage/off.h
src/include/storage/pos.h
src/include/storage/proc.h
src/include/storage/s_lock.h
src/include/storage/shmem.h
src/include/storage/sinval.h
src/include/storage/sinvaladt.h
src/include/storage/smgr.h
src/include/storage/spin.h
src/include/tcop/dest.h
src/include/tcop/pquery.h
src/include/tcop/utility.h
src/include/utils/acl.h
src/include/utils/psort.h
src/include/utils/rel.h
src/include/utils/rel2.h
src/include/utils/relcache.h

index 2baccce5bef8a4283572549d1c1472f74a9a49d6..733e807c48c722bf82943968ca49793a4466bcfe 100644 (file)
@@ -7,14 +7,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: multilev.h,v 1.15 1999/02/13 23:22:07 momjian Exp $
+ * $Id: multilev.h,v 1.15.2.1 1999/07/30 17:07:16 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef MULTILEV_H
 #define MULTILEV_H
 
-#include <storage/lmgr.h>
+#include "storage/lmgr.h"
 
 #ifdef LowLevelLocking
 
index 63a3e1b54c365c1585be140c751bb2f59d005676..7d5f5588cb120999f1ce3c81e430e6ca484df13e 100644 (file)
@@ -6,13 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: off.h,v 1.7 1999/05/25 16:14:43 momjian Exp $
+ * $Id: off.h,v 1.7.2.1 1999/07/30 17:07:16 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef OFF_H
 #define OFF_H
 
+#include "storage/itemid.h"
 /*
  * OffsetNumber:
  *
index 91d85c68c556ff541312526b98bd44358fc84d47..20560c9dddd3d422dced24d509cc88f5de44af1d 100644 (file)
@@ -6,13 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pos.h,v 1.7 1999/05/25 16:14:44 momjian Exp $
+ * $Id: pos.h,v 1.7.2.1 1999/07/30 17:07:17 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef POS_H
 #define POS_H
 
+#include "storage/off.h"
+
 /*
  * a 'position' used to be <pagenumber, offset> in postgres.  this has
  * been changed to just <offset> as the notion of having multiple pages
index f62106e1ce22a6bb0c440dc47c9c527931f3bbfb..e9fbaf83b344b6f6cdc0ae37ed4301e6038115a9 100644 (file)
@@ -6,14 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: proc.h,v 1.24 1999/05/25 22:43:27 momjian Exp $
+ * $Id: proc.h,v 1.24.2.1 1999/07/30 17:07:17 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef _PROC_H_
 #define _PROC_H_
 
-#include <storage/lock.h>
+#include "storage/lock.h"
 
 typedef struct
 {
index 2780152f6931dfd424b65bb19fba5aff7e17c3a2..5a5cdc5e0d6dd865f6c2bb0601b9049934654d22 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.61 1999/06/13 00:07:43 ishii Exp $
+ *   $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.61.2.1 1999/07/30 17:07:17 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -78,7 +78,7 @@ extern void s_lock_sleep(unsigned spin);
  * All the gcc inlines
  */
 
-#if defined(__alpha)
+#if defined(__alpha__)
 #define TAS(lock) tas(lock)
 #define S_UNLOCK(lock) { __asm__("mb"); *(lock) = 0; }
 
@@ -104,11 +104,11 @@ __asm__("    ldq   $0, %0              \n\
    return (int) _res;
 }
 
-#endif  /* __alpha */
+#endif  /* __alpha__ */
 
 
 
-#if defined(i386)
+#if defined(__i386__)
 #define TAS(lock) tas(lock)
 
 static __inline__ int
@@ -120,7 +120,7 @@ __asm__("lock; xchgb %0,%1": "=q"(_res), "=m"(*lock):"0"(_res));
    return (int) _res;
 }
 
-#endif  /* i386 */
+#endif  /* __i386__ */
 
 
 
@@ -140,7 +140,7 @@ __asm__("swpb %0, %0, [%3]": "=r"(_res), "=m"(*lock):"0"(_res), "r" (lock));
 
 
 
-#if defined(sparc)
+#if defined(__sparc__)
 #define TAS(lock) tas(lock)
 
 static __inline__ int
@@ -154,7 +154,7 @@ tas(volatile slock_t *lock)
    return (int) _res;
 }
 
-#endif  /* sparc */
+#endif  /* __sparc__ */
 
 
 #if defined(__mc68000__) && defined(__linux__)
@@ -226,7 +226,7 @@ tas(volatile slock_t *lock)
  * All non gcc
  */
 
-#if defined(__alpha)
+#if defined(__alpha__)
 /*
  * OSF/1 (Alpha AXP)
  *
@@ -237,7 +237,7 @@ tas(volatile slock_t *lock)
 #define S_UNLOCK(lock) msem_unlock((lock), 0)
 #define S_INIT_LOCK(lock)  msem_init((lock), MSEM_UNLOCKED)
 #define S_LOCK_FREE(lock)  (!(lock)->msem_state)
-#endif  /* __alpha */
+#endif  /* __alpha__ */
 
 
 
@@ -307,7 +307,7 @@ tas(slock_t *s_lock)
  * assembly from his NECEWS SVR4 port, but we probably ought to retain this
  * for the R3000 chips out there.
  */
-#include <mutex.h>
+#include "mutex.h"
 #define TAS(lock)  (test_and_set(lock,1))
 #define S_UNLOCK(lock) (test_then_and(lock,0))
 #define S_INIT_LOCK(lock)  (test_then_and(lock,0))
index 66365b4a9a710121299d79b6c10e6397c9532aaa..a6b16cbde259f05a6a0170b1abd31edd7566cef6 100644 (file)
@@ -6,15 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: shmem.h,v 1.18 1999/05/25 22:43:27 momjian Exp $
+ * $Id: shmem.h,v 1.18.2.1 1999/07/30 17:07:17 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef SHMEM_H
 #define SHMEM_H
 
-#include <utils/hsearch.h>
-#include <storage/spin.h>
+#include "storage/spin.h"
+#include "utils/hsearch.h"
 
 
 /* The shared memory region can start at a different address
index 8ef86c8a4884646483d7bd870abbd2124f2ee1fc..4e86f2cbf09da9a4037a138e851b578a0b3ea550 100644 (file)
@@ -6,15 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: sinval.h,v 1.11 1999/05/28 17:03:31 tgl Exp $
+ * $Id: sinval.h,v 1.11.2.1 1999/07/30 17:07:17 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef SINVAL_H
 #define SINVAL_H
 
-#include <storage/itemptr.h>
-#include <storage/spin.h>
+#include "storage/itemptr.h"
+#include "storage/spin.h"
 
 extern SPINLOCK SInvalLock;
 
index c939a0c6dbefd296941368b3fb78edf4551b7724..d1ebfd42f52010beecdb3611709153eee53d5cfa 100644 (file)
@@ -6,15 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: sinvaladt.h,v 1.14 1999/05/28 17:03:30 tgl Exp $
+ * $Id: sinvaladt.h,v 1.14.2.1 1999/07/30 17:07:18 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef SINVALADT_H
 #define SINVALADT_H
 
-#include <storage/itemptr.h>
-#include <storage/ipc.h>
+#include "storage/ipc.h"
+#include "storage/itemptr.h"
 
 /*
  * The structure of the shared cache invaidation segment
index c3c0d314462cf31490c6406406e799512114257b..5a8459743386a6c558ca9198989820885f76f223 100644 (file)
@@ -6,16 +6,16 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: smgr.h,v 1.14 1999/02/13 23:22:10 momjian Exp $
+ * $Id: smgr.h,v 1.14.2.1 1999/07/30 17:07:18 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef SMGR_H
 #define SMGR_H
 
-#include <storage/spin.h>
-#include <storage/block.h>
-#include <utils/rel.h>
+#include "storage/block.h"
+#include "storage/spin.h"
+#include "utils/rel.h"
 
 #define SM_FAIL            0
 #define SM_SUCCESS     1
index ace673d98ecf59633ffef31fcc485be6bddfbe6e..d612fc5f43723fb4abf7be81117882196c161b53 100644 (file)
@@ -6,14 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: spin.h,v 1.8 1999/02/13 23:22:10 momjian Exp $
+ * $Id: spin.h,v 1.8.2.1 1999/07/30 17:07:18 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef SPIN_H
 #define SPIN_H
 
-#include <storage/ipc.h>
+#include "storage/ipc.h"
 
 /*
  * two implementations of spin locks
index f46f9b324844a14ce11eaf7cb4283dfa545c69cc..25947146527272a88f871807d211dedc7eeeb27d 100644 (file)
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: dest.h,v 1.20 1999/05/25 22:43:29 momjian Exp $
+ * $Id: dest.h,v 1.20.2.1 1999/07/30 17:07:20 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef DEST_H
 #define DEST_H
 
-#include <access/htup.h>
-#include <access/tupdesc.h>
+#include "access/htup.h"
+#include "access/tupdesc.h"
 
 /* ----------------
  *     CommandDest is a simplistic means of identifying the desired
index 5c783d501429b1156637c7744fd283474ebd8b87..6465faad0bd3b065efa9cf9efee670c06521cda1 100644 (file)
@@ -6,14 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pquery.h,v 1.12 1999/02/13 23:22:13 momjian Exp $
+ * $Id: pquery.h,v 1.12.2.1 1999/07/30 17:07:20 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PQUERY_H
 #define PQUERY_H
 
-#include <executor/execdesc.h>
+#include "executor/execdesc.h"
 
 /* moved to execdesc.h
 extern QueryDesc *CreateQueryDesc(Query *parsetree, Plan *plantree,
index 8baffbeb2c497197dc80981f7007039ae0f2c1d4..66f94c3aed23fc98c3c4c6eb489188b868150395 100644 (file)
@@ -6,14 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: utility.h,v 1.7 1999/02/13 23:22:13 momjian Exp $
+ * $Id: utility.h,v 1.7.2.1 1999/07/30 17:07:20 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef UTILITY_H
 #define UTILITY_H
 
-#include <executor/execdesc.h>
+#include "executor/execdesc.h"
 
 extern void ProcessUtility(Node *parsetree, CommandDest dest);
 
index 95e68fdf0755aebac39fc630fea2e8e268f55bc6..e8c2cf0ae290423c923e0e6a4b358c95f19ab631 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: acl.h,v 1.20 1999/07/09 03:28:53 momjian Exp $
+ * $Id: acl.h,v 1.20.2.1 1999/07/30 17:07:22 scrappy Exp $
  *
  * NOTES
  *   For backward-compatability purposes we have to allow there
@@ -22,8 +22,9 @@
 #ifndef ACL_H
 #define ACL_H
 
-#include <nodes/parsenodes.h>
-#include <utils/array.h>
+#include "nodes/parsenodes.h"
+#include "utils/array.h"
+#include "utils/memutils.h"
 
 /*
  * AclId       system identifier for the user, group, etc.
index b9590cef6182f83f12e6e01973fc22f9116418e7..98baa6d1f80b0bd73930822a30074625c5020521 100644 (file)
@@ -6,17 +6,17 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: psort.h,v 1.19 1999/05/25 16:14:57 momjian Exp $
+ * $Id: psort.h,v 1.19.2.1 1999/07/30 17:07:22 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef PSORT_H
 #define PSORT_H
 
-#include "storage/fd.h"
 #include "access/relscan.h"
-#include "utils/lselect.h"
 #include "nodes/plannodes.h"
+#include "storage/fd.h"
+#include "utils/lselect.h"
 
 #define MAXTAPES       7       /* See Knuth Fig. 70, p273 */
 
@@ -66,7 +66,6 @@ typedef struct Psortstate
 } Psortstate;
 
 #ifdef EBUG
-#include "utils/elog.h"
 #include "storage/buf.h"
 #include "storage/bufmgr.h"
 
index 4b2ee9de96fae437ddeefe3d37c4371f4c81551e..220eab035cebac44f0afaa2cd4be14ae7a8a6309 100644 (file)
@@ -6,19 +6,19 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: rel.h,v 1.23 1999/05/25 16:14:57 momjian Exp $
+ * $Id: rel.h,v 1.23.2.1 1999/07/30 17:07:22 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef REL_H
 #define REL_H
 
-#include <catalog/pg_am.h>
-#include <catalog/pg_class.h>
-#include <access/strat.h>
-#include <access/tupdesc.h>
-#include <rewrite/prs2lock.h>
-#include <storage/fd.h>
+#include "access/strat.h"
+#include "access/tupdesc.h"
+#include "catalog/pg_am.h"
+#include "catalog/pg_class.h"
+#include "rewrite/prs2lock.h"
+#include "storage/fd.h"
 
 typedef struct Trigger
 {
index 50863611007067529713ebfe52df2d7cd73bc4ca..9f42ebbcf8640fd327e1b3e7ad0f30f726f6fef9 100644 (file)
@@ -6,14 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: rel2.h,v 1.8 1999/02/13 23:22:30 momjian Exp $
+ * $Id: rel2.h,v 1.8.2.1 1999/07/30 17:07:22 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef TMP_REL2_H
 #define TMP_REL2_H
 
-#include <utils/rel.h>
+#include "utils/rel.h"
 
 extern IndexStrategy RelationGetIndexStrategy(Relation relation);
 
index d95a9a27fe3ecad9d70241b815126d2c98f5d915..100dcf72d73d139467b056d948332c558e969ac4 100644 (file)
@@ -6,14 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: relcache.h,v 1.12 1999/05/01 19:09:43 tgl Exp $
+ * $Id: relcache.h,v 1.12.2.1 1999/07/30 17:07:23 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef RELCACHE_H
 #define RELCACHE_H
 
-#include <utils/rel.h>
+#include "utils/rel.h"
 
 /*
  * relation lookup routines