|
|
1.1 root 1: .th DBTMPLT FILES
2: .sh NAME
3: \&.../files/dbtmplt7 \- database template
4: .sh DESCRIPTION
5: This file contains the template
6: for a database
7: used by
8: .it creatdb.
9: It has a set of entries
10: for each relation
11: to be created in the database.
12: The sets of entries
13: are separated
14: by a blank line.
15: Two blank lines
16: or an end of file
17: terminate the file.
18: .s3
19: The first line
20: of the file
21: is the database status
22: and the default relation status,
23: separated by a colon.
24: The rest of the file describes relations.
25: The first line of each group
26: gives the relation name
27: followed by an optional relation status,
28: separated by a colon.
29: The rest of the lines in each group
30: are the attribute name
31: and the type,
32: separated by a tab character.
33: .s3
34: All the status fields are given in octal,
35: and have a syntax of a single number
36: followed by a list of pairs of the form
37: .br
38: \*(+-\c
39: .it x\c
40: \*(+-N
41: .br
42: which says that if the
43: \*(+-
44: .it x
45: flag is asserted on the
46: .it creatdb
47: command line
48: then set (clear) the bits
49: specified by
50: .it N.
51: .s3
52: The first set of entries must be for
53: the relation catalog,
54: and the second set
55: must be for
56: the attribute catalog.
57: .sh EXAMPLE
58: .nf
59: 3\-c\-1+q+2:010023
60: relation:\-c\-20
61: relid c12
62: relowner c2
63: relspec i1
64:
65: attribute:\-c\-20
66: attrelid c12
67: attowner c2
68: attname c12
69:
70: (other relation descriptors)
71: .fi
72: .sh "SEE ALSO"
73: creatdb(unix)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.