Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 791c075

Browse files
committed
Date/Time updates from Thomas...
1 parent 53d8be3 commit 791c075

File tree

8 files changed

+472
-223
lines changed

8 files changed

+472
-223
lines changed

src/include/postgres.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1995, Regents of the University of California
88
*
9-
* $Id: postgres.h,v 1.3 1996/12/10 07:03:40 bryanh Exp $
9+
* $Id: postgres.h,v 1.4 1997/03/14 23:31:22 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -29,7 +29,7 @@
2929
* 2) varlena and array types
3030
* 3) TransactionId and CommandId
3131
* 4) genbki macros used by catalog/pg_xxx.h files
32-
* 5) random SIGNBIT, MAXPGPATH, STATUS macros
32+
* 5) random CSIGNBIT, MAXPGPATH, STATUS macros
3333
*
3434
* ----------------------------------------------------------------
3535
*/
@@ -52,7 +52,7 @@ typedef int32 int4;
5252
typedef float float4;
5353
typedef double float8;
5454

55-
typedef int4 aclitem;
55+
typedef int4 aclitem;
5656

5757
#define InvalidOid 0
5858
#define OidIsValid(objectId) ((bool) (objectId != InvalidOid))
@@ -177,15 +177,16 @@ typedef uint16 CommandId;
177177

178178
/* ----------------------------------------------------------------
179179
* Section 5: random stuff
180-
* SIGNBIT, MAXPGPATH, STATUS...
180+
* CSIGNBIT, MAXPGPATH, STATUS...
181181
* ----------------------------------------------------------------
182182
*/
183183

184184
/* msb for int/unsigned */
185-
#define SIGNBIT (0x8000)
185+
#define ISIGNBIT (0x80000000)
186+
#define WSIGNBIT (0x8000)
186187

187188
/* msb for char */
188-
#define CSIGNBIT (1 << 7)
189+
#define CSIGNBIT (0x80)
189190

190191
/* ----------------
191192
* global variables which should probably go someplace else.

0 commit comments

Comments
 (0)