Sender: owner-postgres95@postgres.Berkeley.EDU
X-Return-Path: andrew_yu
Received: from druid.druid.com (root@druid.com [205.206.14.17]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id EAA19443 for <postgres95@nobozo.CS.Berkeley.EDU>; Wed, 1 Nov 1995 04:20:59 -0800
Received: by druid.druid.com (Smail3.1.28.1 #4)
	id m0tAcAT-000RFpC; Wed, 1 Nov 95 07:21 EST
Message-Id: <m0tAcAT-000RFpC@druid.druid.com>
From: darcy@druid.druid.com (D'Arcy J.M. Cain)
Subject: Compiling with -Werror
To: postgres95@postgres.Berkeley.EDU
Date: Wed, 1 Nov 1995 07:21:21 -0500 (EST)
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 19876     
Resent-To: postgres95-redist
Resent-Date: Wed, 01 Nov 95 04:21:02 -0800
Resent-From: pglite
Resent-XMts: smtp

I have been modifying Postgres95 to allow it to compile cleaner.  So
far I have it compiling with -Werror.  The next step will be to add
-Wall.  The diffs follow.  Some comments - The signal stuff where I
add " || defined(PORTNAME_BSD44_derived)" to the test for linux should
probably be expanded for other architectures.  In fact the test should
probably be for the few systems that take void as the arg to the
signal handler.  Also the whole Datum thing should be looked at.
It should probably be a union rather than depending on system
specific stuff so much.


./backend/access/nbtree/nbtsort.c
*** ./backend/access/nbtree/nbtsort.c	Tue Aug  1 16:15:53 1995
--- ../src/./backend/access/nbtree/nbtsort.c	Tue Oct 24 22:39:14 1995
***************
*** 96,105 ****
  }
  
  static int
! _bt_isortcmp(BTItem *bti1p, BTItem *bti2p)
  {
!     BTItem bti1 = *bti1p;
!     BTItem bti2 = *bti2p;
  
      if (bti1 == (BTItem) NULL) {
  	if (bti2 == (BTItem) NULL) {
--- 96,105 ----
  }
  
  static int
! _bt_isortcmp(const void *bti1p, const void *bti2p)
  {
!     BTItem bti1 = *(const BTItem *)(bti1p);
!     BTItem bti2 = *(const BTItem *)(bti2p);
  
      if (bti1 == (BTItem) NULL) {
  	if (bti2 == (BTItem) NULL) {
./backend/commands/async.c
*** ./backend/commands/async.c	Tue Aug  1 16:18:03 1995
--- ../src/./backend/commands/async.c	Wed Oct 25 10:35:01 1995
***************
*** 133,139 ****
   *      none
   */
  void
! #if defined(PORTNAME_linux)
  Async_NotifyHandler(int i)
  #else
  Async_NotifyHandler()
--- 133,139 ----
   *      none
   */
  void
! #if defined(PORTNAME_linux) || defined(PORTNAME_BSD44_derived)
  Async_NotifyHandler(int i)
  #else
  Async_NotifyHandler()
./backend/commands/async.h
*** ./backend/commands/async.h	Fri Jul 21 13:47:35 1995
--- ../src/./backend/commands/async.h	Wed Oct 25 10:35:13 1995
***************
*** 15,21 ****
  
  #include "nodes/memnodes.h"
  
! #if defined(PORTNAME_linux)
  extern void Async_NotifyHandler(int);
  #else
  extern void Async_NotifyHandler(void);
--- 15,21 ----
  
  #include "nodes/memnodes.h"
  
! #if defined(PORTNAME_linux) || defined(PORTNAME_BSD44_derived)
  extern void Async_NotifyHandler(int);
  #else
  extern void Async_NotifyHandler(void);
./backend/executor/nodeAgg.c
*** ./backend/executor/nodeAgg.c	Sun Oct 22 08:48:58 1995
--- ../src/./backend/executor/nodeAgg.c	Wed Oct 25 00:06:46 1995
***************
*** 280,286 ****
                   if (outerslot->ttc_tupleDescriptor->attrs[attnum-1]->attbyval)
                          value1[i] = newVal;
                      else
!                         memmove(value1[i], newVal, attlen);
  		    /* value1[i] = newVal; */
  		    noInitValue[i] = 0;
  		    nulls[i] = 0;
--- 280,286 ----
                   if (outerslot->ttc_tupleDescriptor->attrs[attnum-1]->attbyval)
                          value1[i] = newVal;
                      else
!                         memmove(DatumGetPointer(value1[i]), DatumGetPointer(newVal), attlen);
  		    /* value1[i] = newVal; */
  		    noInitValue[i] = 0;
  		    nulls[i] = 0;
./backend/nodes/pg_list.h
*** ./backend/nodes/pg_list.h	Fri Mar 17 15:26:00 1995
--- ../src/./backend/nodes/pg_list.h	Wed Oct 25 09:03:23 1995
***************
*** 89,97 ****
  extern void set_nth(List *l, int n, void *elem);
  		    
  /* hack for now */
! #define	lconsi(i,l)	lcons((void*)i,l)
  #define lfirsti(l)	((int)lfirst(l))
! #define	lappendi(l,i)	lappend(l,(void*)i)
  extern bool intMember(int, List *);
  extern List *intAppend(List *list1, List *list2);
  
--- 89,97 ----
  extern void set_nth(List *l, int n, void *elem);
  		    
  /* hack for now */
! #define	lconsi(i,l)	lcons((void *) ((long)i),l)
  #define lfirsti(l)	((int)lfirst(l))
! #define	lappendi(l,i)	lappend(l,(void *)((long)i))
  extern bool intMember(int, List *);
  extern List *intAppend(List *list1, List *list2);
  
./backend/optimizer/util/plancat.c
*** ./backend/optimizer/util/plancat.c	Thu Jul 20 16:30:39 1995
--- ../src/./backend/optimizer/util/plancat.c	Wed Oct 25 09:52:28 1995
***************
*** 205,211 ****
  	amopTuple = SearchSysCacheTuple(AMOPSTRATEGY,
  					(char *) relam,
  					(char *) index->indclass[i],
! 					(char *) amstrategy,
  					(char *) NULL);
  	if (!HeapTupleIsValid(amopTuple))
  	    elog(WARN, "IndexCatalogInformation: no amop %d %d %d",
--- 205,211 ----
  	amopTuple = SearchSysCacheTuple(AMOPSTRATEGY,
  					(char *) relam,
  					(char *) index->indclass[i],
! 					(char *) ((long)amstrategy),
  					(char *) NULL);
  	if (!HeapTupleIsValid(amopTuple))
  	    elog(WARN, "IndexCatalogInformation: no amop %d %d %d",
***************
*** 325,331 ****
      result = (float64) fmgr(functionObjectId,
  			    (char *) operatorObjectId,
  			    (char *) relationObjectId, 
! 			    (char *) attributeNumber,
  			    (char *) constValue,
  			    (char *) constFlag,
  			    NULL);
--- 325,331 ----
      result = (float64) fmgr(functionObjectId,
  			    (char *) operatorObjectId,
  			    (char *) relationObjectId, 
! 			    (char *) ((long) attributeNumber),
  			    (char *) constValue,
  			    (char *) constFlag,
  			    NULL);
***************
*** 364,372 ****
      result = (float64) fmgr(functionObjectId,
  			    (char *) operatorObjectId,
  			    (char *) relationObjectId1,
! 			    (char *) attributeNumber1,
  			    (char *) relationObjectId2,
! 			    (char *) attributeNumber2,
  			    NULL);
      if (!PointerIsValid(result))
  	elog(WARN, "JoinClauseSelectivity: bad pointer");
--- 364,372 ----
      result = (float64) fmgr(functionObjectId,
  			    (char *) operatorObjectId,
  			    (char *) relationObjectId1,
! 			    (char *) ((long) attributeNumber1),
  			    (char *) relationObjectId2,
! 			    (char *) ((long) attributeNumber2),
  			    NULL);
      if (!PointerIsValid(result))
  	elog(WARN, "JoinClauseSelectivity: bad pointer");
./backend/port/BSD44_derived/dl.c
*** ./backend/port/BSD44_derived/dl.c	Fri Jul 21 15:43:52 1995
--- ../src/./backend/port/BSD44_derived/dl.c	Wed Oct 25 00:20:44 1995
***************
*** 38,43 ****
--- 38,44 ----
  #include <sys/types.h>
  #include <nlist.h>
  #include <link.h>
+ #include <dlfcn.h>
  
  #include <stdio.h>
  #include <stdlib.h>
./backend/port/BSD44_derived/float.h
*** ./backend/port/BSD44_derived/float.h	Fri Jul 21 15:43:53 1995
--- ../src/./backend/port/BSD44_derived/float.h	Wed Oct 25 19:37:04 1995
***************
*** 20,30 ****
--- 20,34 ----
  #ifndef FLOAT_H
  #define FLOAT_H
  
+ #ifdef		PORTNAME_BSD44_derived
+ #include <limits.h>
+ #else
  #define FLT_DIG	6
  #define FLT_MIN	((float) 1.17549435e-38)
  #define FLT_MAX	((float) 3.40282347e+38)
  #define DBL_DIG	15
  #define DBL_MIN	2.2250738585072014e-308
  #define DBL_MAX	1.7976931348623157e+308
+ #endif
  
  #endif /* FLOAT_H */
./backend/port/BSD44_derived/port-protos.h
*** ./backend/port/BSD44_derived/port-protos.h	Fri Jul 21 15:43:54 1995
--- ../src/./backend/port/BSD44_derived/port-protos.h	Thu Oct 26 11:20:22 1995
***************
*** 38,41 ****
--- 38,46 ----
  #define	pg_dlclose	BSD44_derived_dlclose
  #define	pg_dlerror	BSD44_derived_dlerror
  
+ extern char * BSD44_derived_dlerror(void);
+ extern void * BSD44_derived_dlopen(char *file, int num);
+ extern void * BSD44_derived_dlsym(void *handle, char *name);
+ extern void   BSD44_derived_dlclose(void *handle);
+ 
  #endif /* PORT_PROTOS_H */
./backend/postmaster/postmaster.c
*** ./backend/postmaster/postmaster.c	Sun Oct 22 08:50:05 1995
--- ../src/./backend/postmaster/postmaster.c	Wed Oct 25 00:13:53 1995
***************
*** 141,147 ****
  static int ConnStartup(Port *port);
  static int ConnCreate(int serverFd, int *newFdP);
  static void reset_shared(short port);
! #if defined(PORTNAME_linux)
  static void pmdie(int);
  static void reaper(int);
  static void dumpstatus(int);
--- 141,147 ----
  static int ConnStartup(Port *port);
  static int ConnCreate(int serverFd, int *newFdP);
  static void reset_shared(short port);
! #if defined(PORTNAME_linux) || defined(PORTNAME_BSD44_derived)
  static void pmdie(int);
  static void reaper(int);
  static void dumpstatus(int);
***************
*** 605,611 ****
   * pmdie -- signal handler for cleaning up after a kill signal.
   */
  static void
! #if defined(PORTNAME_linux)
  pmdie(int i)
  #else
  pmdie()
--- 605,611 ----
   * pmdie -- signal handler for cleaning up after a kill signal.
   */
  static void
! #if defined(PORTNAME_linux) || defined(PORTNAME_BSD44_derived)
  pmdie(int i)
  #else
  pmdie()
***************
*** 618,624 ****
   * Reaper -- signal handler to cleanup after a backend (child) dies.
   */
  static void
! #if defined(PORTNAME_linux)
  reaper(int i)
  #else
  reaper()
--- 618,624 ----
   * Reaper -- signal handler to cleanup after a backend (child) dies.
   */
  static void
! #if defined(PORTNAME_linux) || defined(PORTNAME_BSD44_derived)
  reaper(int i)
  #else
  reaper()
***************
*** 1032,1038 ****
  }
  
  static void
! #if defined(PORTNAME_linux)
  dumpstatus(int i)
  #else
  dumpstatus()
--- 1032,1038 ----
  }
  
  static void
! #if defined(PORTNAME_linux) || defined(PORTNAME_BSD44_derived)
  dumpstatus(int i)
  #else
  dumpstatus()
./backend/rewrite/rewriteSupport.c
*** ./backend/rewrite/rewriteSupport.c	Tue Jun 13 20:15:43 1995
--- ../src/./backend/rewrite/rewriteSupport.c	Wed Oct 25 10:16:59 1995
***************
*** 65,71 ****
      rule_evqual_string = heap_getattr(ruletuple, InvalidBuffer, 
  				      Anum_pg_rewrite_ev_qual, 
  				      ruleTupdesc, &action_is_null) ;
!     *instead_flag = (bool) heap_getattr(ruletuple, InvalidBuffer, 
  					Anum_pg_rewrite_is_instead, 
  					ruleTupdesc, &instead_is_null) ;
  
--- 65,71 ----
      rule_evqual_string = heap_getattr(ruletuple, InvalidBuffer, 
  				      Anum_pg_rewrite_ev_qual, 
  				      ruleTupdesc, &action_is_null) ;
!     *instead_flag = !! heap_getattr(ruletuple, InvalidBuffer, 
  					Anum_pg_rewrite_is_instead, 
  					ruleTupdesc, &instead_is_null) ;
  
./backend/storage/proc.h
*** ./backend/storage/proc.h	Fri Jul 21 13:49:05 1995
--- ../src/./backend/storage/proc.h	Wed Oct 25 10:24:38 1995
***************
*** 116,126 ****
  extern int ProcGetId(void);
  extern int ProcLockWakeup(PROC_QUEUE *queue, char * ltable, char * lock);
  extern void ProcAddLock(SHM_QUEUE *elem);
- #if defined(PORTNAME_linux)
- extern int HandleDeadLock(int);
- #else
- extern int HandleDeadLock(void);
- #endif
  extern void ProcReleaseSpins(PROC *proc);
  extern void ProcFreeAllSemaphores(void);
  
--- 116,121 ----
./backend/storage/lmgr/proc.c
*** ./backend/storage/lmgr/proc.c	Fri Jul 21 13:49:07 1995
--- ../src/./backend/storage/lmgr/proc.c	Wed Oct 25 10:26:35 1995
***************
*** 95,104 ****
  static void ProcKill(int exitStatus, int pid);
  static void ProcGetNewSemKeyAndNum(IPCKey *key, int *semNum);
  static void ProcFreeSem(IpcSemaphoreKey semKey, int semNum);
! #if defined(PORTNAME_linux)
! extern int HandleDeadLock(int);
  #else
! extern int HandleDeadLock(void);
  #endif
  /*
   * InitProcGlobal -
--- 95,104 ----
  static void ProcKill(int exitStatus, int pid);
  static void ProcGetNewSemKeyAndNum(IPCKey *key, int *semNum);
  static void ProcFreeSem(IpcSemaphoreKey semKey, int semNum);
! #if defined(PORTNAME_linux) || defined(PORTNAME_BSD44_derived)
! static void HandleDeadLock(int);
  #else
! static void HandleDeadLock(void);
  #endif
  /*
   * InitProcGlobal -
***************
*** 628,635 ****
   * up my semaphore.
   * --------------------
   */
! int
! #if defined(PORTNAME_linux)
  HandleDeadLock(int i)
  #else
  HandleDeadLock()
--- 628,635 ----
   * up my semaphore.
   * --------------------
   */
! static void
! #if defined(PORTNAME_linux) || defined(PORTNAME_BSD44_derived)
  HandleDeadLock(int i)
  #else
  HandleDeadLock()
***************
*** 653,659 ****
      if (IpcSemaphoreGetCount(MyProc->sem.semId, MyProc->sem.semNum) == 
  	IpcSemaphoreDefaultStartValue) {
  	UnlockLockTable();
- 	return 1;
      }
      
      /*
--- 653,658 ----
***************
*** 670,676 ****
      if (MyProc->links.prev == INVALID_OFFSET ||
  	MyProc->links.next == INVALID_OFFSET) {
  	UnlockLockTable();
- 	return(1);
      }
      
      lock = MyProc->waitLock;
--- 669,674 ----
./backend/tcop/utility.c
*** ./backend/tcop/utility.c	Fri Sep  1 03:37:09 1995
--- ../src/./backend/tcop/utility.c	Wed Oct 25 19:23:46 1995
***************
*** 71,77 ****
  	       CommandDest dest)
  {
      String	commandTag = NULL;
!     String	relname;
      Name	relationName;
      Name	userName;
      
--- 71,77 ----
  	       CommandDest dest)
  {
      String	commandTag = NULL;
!     char 	*relname;
      Name	relationName;
      Name	userName;
      
***************
*** 293,300 ****
  		 */
  		renamerel(relname, /* old name */
  			  stmt->newname); /* new name */
! 		TypeRename(relname, /* old name */
! 			   stmt->newname); /* new name */
  	    } else {
  		/* ----------------
  		 *	rename attribute
--- 293,300 ----
  		 */
  		renamerel(relname, /* old name */
  			  stmt->newname); /* new name */
! 		TypeRename((Name)relname, /* old name */
! 			   (Name)stmt->newname); /* new name */
  	    } else {
  		/* ----------------
  		 *	rename attribute
./backend/utils/adt/selfuncs.c
*** ./backend/utils/adt/selfuncs.c	Tue Aug  1 16:26:51 1995
--- ../src/./backend/utils/adt/selfuncs.c	Wed Oct 25 19:50:14 1995
***************
*** 267,273 ****
      HeapTuple	atp;
      int		nvals;
      
!     atp = SearchSysCacheTuple(ATTNUM, (char*)relid, (char*)attnum, NULL, NULL);
      if (!HeapTupleIsValid(atp)) {
  	elog(WARN, "getattnvals: no attribute tuple %d %d",
  	     relid, attnum);
--- 267,273 ----
      HeapTuple	atp;
      int		nvals;
      
!     atp = SearchSysCacheTuple(ATTNUM, (char*)relid, (char*)((long)attnum), NULL, NULL);
      if (!HeapTupleIsValid(atp)) {
  	elog(WARN, "getattnvals: no attribute tuple %d %d",
  	     relid, attnum);
***************
*** 376,382 ****
  	result = (float64)fmgr(get_oprrest (operatorObjectId),
  			       (char*)operatorObjectId,
  			       (char*)indrelid,
! 			       (char*)attributeNumber,
  			       (char*)constValue,
  			       (char*)constFlag,
  			       NULL);
--- 376,382 ----
  	result = (float64)fmgr(get_oprrest (operatorObjectId),
  			       (char*)operatorObjectId,
  			       (char*)indrelid,
! 			       (char*)((long)attributeNumber),
  			       (char*)constValue,
  			       (char*)constFlag,
  			       NULL);
***************
*** 418,424 ****
  	temp = (float64)fmgr(get_oprrest (operatorObjectId),
  			     (char*)operatorObjectId,
  			     (char*)indrelid,
! 			     (char*)attributeNumber,
  			     (char*)constValue,
  			     (char*)constFlag,
  			     NULL);
--- 418,424 ----
  	temp = (float64)fmgr(get_oprrest (operatorObjectId),
  			     (char*)operatorObjectId,
  			     (char*)indrelid,
! 			     (char*)((long)attributeNumber),
  			     (char*)constValue,
  			     (char*)constFlag,
  			     NULL);
***************
*** 477,483 ****
  	result = (float64)fmgr(get_oprrest (operatorObjectId),
  			       (char*)operatorObjectId,
  			       (char*)indrelid,
! 			       (char*)attributeNumber,
  			       (char*)constValue,
  			       (char*)constFlag,
  			       NULL);
--- 477,483 ----
  	result = (float64)fmgr(get_oprrest (operatorObjectId),
  			       (char*)operatorObjectId,
  			       (char*)indrelid,
! 			       (char*)((long)attributeNumber),
  			       (char*)constValue,
  			       (char*)constFlag,
  			       NULL);
***************
*** 537,543 ****
  	temp = (float64)fmgr(get_oprrest (operatorObjectId),
  			     (char*)operatorObjectId,
  			     (char*)indrelid,
! 			     (char*)attributeNumber,
  			     (char*)constValue,
  			     (char*)constFlag,
  			     NULL);
--- 537,543 ----
  	temp = (float64)fmgr(get_oprrest (operatorObjectId),
  			     (char*)operatorObjectId,
  			     (char*)indrelid,
! 			     (char*)((long)attributeNumber),
  			     (char*)constValue,
  			     (char*)constFlag,
  			     NULL);
./backend/utils/cache/relcache.c
*** ./backend/utils/cache/relcache.c	Tue Aug  1 16:27:03 1995
--- ../src/./backend/utils/cache/relcache.c	Wed Oct 25 20:00:39 1995
***************
*** 645,659 ****
  	 * 	(see rewriteDefine.c:121)
  	 */
  	rule->event =
! 	    (CmdType)((char)heap_getattr(pg_rewrite_tuple, InvalidBuffer,
  				  Anum_pg_rewrite_ev_type, pg_rewrite_tupdesc,
  				  &isnull) - 48);
  	rule->attrno = 
! 	    (AttrNumber)heap_getattr(pg_rewrite_tuple, InvalidBuffer,
  				  Anum_pg_rewrite_ev_attr, pg_rewrite_tupdesc,
  				  &isnull);
  	rule->isInstead = 
! 	    (bool)heap_getattr(pg_rewrite_tuple, InvalidBuffer,
  			       Anum_pg_rewrite_is_instead, pg_rewrite_tupdesc,
  			       &isnull);
  
--- 645,659 ----
  	 * 	(see rewriteDefine.c:121)
  	 */
  	rule->event =
! 	    (CmdType)(heap_getattr(pg_rewrite_tuple, InvalidBuffer,
  				  Anum_pg_rewrite_ev_type, pg_rewrite_tupdesc,
  				  &isnull) - 48);
  	rule->attrno = 
! 	    (uint32)heap_getattr(pg_rewrite_tuple, InvalidBuffer,
  				  Anum_pg_rewrite_ev_attr, pg_rewrite_tupdesc,
  				  &isnull);
  	rule->isInstead = 
! 	    !! heap_getattr(pg_rewrite_tuple, InvalidBuffer,
  			       Anum_pg_rewrite_is_instead, pg_rewrite_tupdesc,
  			       &isnull);
  
./backend/utils/array.h
*** ./backend/utils/array.h	Sat Jul 29 01:22:59 1995
--- ../src/./backend/utils/array.h	Wed Oct 25 19:32:25 1995
***************
*** 97,107 ****
   *------------------------------------------------------------------------
   */
  
- #if defined(PORTNAME_irix5)
  #define RETURN_NULL {*isNull = true; return(0); }
- #else /* PORTNAME_irix5 */
- #define RETURN_NULL {*isNull = true; return(NULL); }
- #endif /* PORTNAME_irix5 */
  #define NAME_LEN    30
  #define MAX_BUFF_SIZE (1 << 13)
  
--- 97,103 ----
./backend/utils/nabstime.h
*** ./backend/utils/nabstime.h	Sat Jul 29 01:23:00 1995
--- ../src/./backend/utils/nabstime.h	Tue Oct 24 23:16:00 1995
***************
*** 13,18 ****
--- 13,19 ----
  #ifndef NABSTIME_H
  #define NABSTIME_H
  
+ #include <limits.h>
  #include <sys/types.h>
  #include <time.h>
  #if !defined(PORTNAME_irix5)
***************
*** 36,44 ****
  typedef TimeIntervalData *TimeInterval;
  
  #define EPOCH_ABSTIME	((AbsoluteTime) 0)
! #define INVALID_ABSTIME ((AbsoluteTime) 2147483647)	/* 2^31 - 1 */
! #define CURRENT_ABSTIME ((AbsoluteTime) 2147483646)	/* 2^31 - 2 */
! #define NOEND_ABSTIME	((AbsoluteTime) 2147483645)	/* 2^31 - 3 */
  #if defined(PORTNAME_aix)
  /*
   * AIX considers 2147483648 == -2147483648 (since they have the same bit
--- 37,45 ----
  typedef TimeIntervalData *TimeInterval;
  
  #define EPOCH_ABSTIME	((AbsoluteTime) 0)
! #define INVALID_ABSTIME ((AbsoluteTime) LONG_MAX)
! #define CURRENT_ABSTIME ((AbsoluteTime) (LONG_MAX - 1))
! #define NOEND_ABSTIME	((AbsoluteTime) (LONG_MAX - 2))
  #if defined(PORTNAME_aix)
  /*
   * AIX considers 2147483648 == -2147483648 (since they have the same bit
***************
*** 47,58 ****
   * or not!
   */
  #include <values.h>
! #define NOSTART_ABSTIME	((AbsoluteTime) HIBITI)		/* - 2^31 */
  #else
! #define NOSTART_ABSTIME ((AbsoluteTime) 2147483648)	/* - 2^31 */
  #endif /* PORTNAME_aix */
  
! #define INVALID_RELTIME ((RelativeTime) 2147483647)	/* 2^31 - 1 */
  
  /* ----------------
   *	time support macros (from tim.h)
--- 48,59 ----
   * or not!
   */
  #include <values.h>
! #define NOSTART_ABSTIME	((AbsoluteTime) HIBITI)
  #else
! #define NOSTART_ABSTIME ((AbsoluteTime) LONG_MIN)
  #endif /* PORTNAME_aix */
  
! #define INVALID_RELTIME ((RelativeTime) LONG_MAX)
  
  /* ----------------
   *	time support macros (from tim.h)



-- 
D'Arcy J.M. Cain (darcy@{druid.com|ican.ca}) |  Democracy is three wolves
D'Arcy Cain Consulting, Toronto, Canada      |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)     |  what's for dinner.
    --  Home: http://www.druid.com/      Work: http://www.ican.ca  --

===============================================================================
  To unsubscribe from the Postgres95 mailing list, send mail with the subject
  line "DEL" to "postgres95-request@postgres.Berkeley.EDU". 
============  URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres95/  ===========
