Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit791c075

Browse files
committed
Date/Time updates from Thomas...
1 parent53d8be3 commit791c075

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)randomSIGNBIT, MAXPGPATH, STATUS macros
32+
*5)randomCSIGNBIT, MAXPGPATH, STATUS macros
3333
*
3434
* ----------------------------------------------------------------
3535
*/
@@ -52,7 +52,7 @@ typedef int32int4;
5252
typedeffloatfloat4;
5353
typedefdoublefloat8;
5454

55-
typedefint4aclitem;
55+
typedefint4aclitem;
5656

5757
#defineInvalidOid0
5858
#defineOidIsValid(objectId) ((bool) (objectId != InvalidOid))
@@ -177,15 +177,16 @@ typedef uint16CommandId;
177177

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

184184
/* msb for int/unsigned */
185-
#defineSIGNBIT(0x8000)
185+
#defineISIGNBIT (0x80000000)
186+
#defineWSIGNBIT (0x8000)
186187

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

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp