6
6
*
7
7
* Copyright (c) 1995, Regents of the University of California
8
8
*
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 $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
29
29
* 2) varlena and array types
30
30
* 3) TransactionId and CommandId
31
31
* 4) genbki macros used by catalog/pg_xxx.h files
32
- * 5) random SIGNBIT , MAXPGPATH, STATUS macros
32
+ * 5) random CSIGNBIT , MAXPGPATH, STATUS macros
33
33
*
34
34
* ----------------------------------------------------------------
35
35
*/
@@ -52,7 +52,7 @@ typedef int32 int4;
52
52
typedef float float4 ;
53
53
typedef double float8 ;
54
54
55
- typedef int4 aclitem ;
55
+ typedef int4 aclitem ;
56
56
57
57
#define InvalidOid 0
58
58
#define OidIsValid (objectId ) ((bool) (objectId != InvalidOid))
@@ -177,15 +177,16 @@ typedef uint16 CommandId;
177
177
178
178
/* ----------------------------------------------------------------
179
179
* Section 5: random stuff
180
- * SIGNBIT , MAXPGPATH, STATUS...
180
+ * CSIGNBIT , MAXPGPATH, STATUS...
181
181
* ----------------------------------------------------------------
182
182
*/
183
183
184
184
/* msb for int/unsigned */
185
- #define SIGNBIT (0x8000)
185
+ #define ISIGNBIT (0x80000000)
186
+ #define WSIGNBIT (0x8000)
186
187
187
188
/* msb for char */
188
- #define CSIGNBIT (1 << 7 )
189
+ #define CSIGNBIT (0x80 )
189
190
190
191
/* ----------------
191
192
* global variables which should probably go someplace else.
0 commit comments