diff options
Diffstat (limited to 'src/backend/access/transam.h')
-rw-r--r-- | src/backend/access/transam.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/backend/access/transam.h b/src/backend/access/transam.h index 0f5a9724dc0..ca9a47e802b 100644 --- a/src/backend/access/transam.h +++ b/src/backend/access/transam.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: transam.h,v 1.1.1.1 1996/07/09 06:21:09 scrappy Exp $ + * $Id: transam.h,v 1.2 1996/08/24 20:47:42 scrappy Exp $ * * NOTES * Transaction System Version 101 now support proper oid @@ -46,6 +46,14 @@ typedef unsigned char XidStatus; /* (2 bits) */ +/* ---------- + * note: we reserve the first 16384 object ids for internal use. + * oid's less than this appear in the .bki files. the choice of + * 16384 is completely arbitrary. + * ---------- + */ +#define BootstrapObjectIdData 16384 + /* ---------------- * BitIndexOf computes the index of the Nth xid on a given block * ---------------- @@ -182,6 +190,7 @@ extern void GetNewTransactionId(TransactionId *xid); extern void UpdateLastCommittedXid(TransactionId xid); extern void GetNewObjectIdBlock(Oid *oid_return, int oid_block_size); extern void GetNewObjectId(Oid *oid_return); +extern void CheckMaxObjectId(Oid assigned_oid); /* ---------------- * global variable extern declarations |