WalnutSchema.mesa
Copyright Ó 1984, 1987, 1988, 1992 by Xerox Corporation. All rights reserved.
Willie-Sue, June 28, 1988 3:56:11 pm PDT
Donahue, March 24, 1986 2:44:52 pm PST
Jack Kent, April 21, 1987 5:58:27 pm PDT
Doug Terry, November 8, 1989 5:00:00 pm PST
Types and entities in the Walnut message database
(Added NewMail and Archive log position info for restart)
(Changed mDAInfo to be mInfo and changed mAccepted to be mShow -- in multiple log case, this attribute will be used for both Active and Deleted message set enumerations)
NEW: All information is stored as entries (records) in a LoganBerry database. For the most part, everything that was a relationship in the Cypress database is now an entry in the LoganBerry database. Some things are combined together into the same entry (though it shouldn't really matter to clients if they use GetAttr to extract data from entries). Since LoganBerry requires a complete entry to be rewritten (and reindexed) everytime one of its attributes changes, the packaging of information into entries is a performance consideration.
Primary keys for entries are generated in one of several ways: For information that pertains to the database as a whole (global information), the primary key is just a character string that does not conflict with any other primary key. For information about a message, the primary key is some string, such as "MSG-", prepended to the message's unique ID. For information about a message set, the primary key is some string, such as "MSGSET-", prepended to the message set's name. For information about a server, the primary key is some string, such as "SERVER-", prepended to the server's name.
DIRECTORY
BasicTime USING [GMT],
LoganBerry USING [Entry, AttributeType],
RefTab USING [Ref],
Rope USING [ROPE],
WalnutDefs USING [MsgSet, WalnutOpsHandle];