config.marc_field
This table stores a list of MARC fields recognized by the Evergreen instance. Note that we’re not aiming for completely generic ISO2709 support: we’re assuming things like three characters for a tag, one-character subfield labels, two indicators per variable data field, and the like, all of which are technically specializations of ISO2709.
Of particular significance is the owner column; if it’s set to a null value, the field definition is assumed to come from a national standards body; if it’s set to a non-null value, the field definition is an OU-level addition to or override of the standard.
|
Deferrable Constraints: The following FK constraints are deferrable — they are checked at transaction end, not statement end: |
Columns
| Column | Type | Nullable | Default | Notes |
|---|---|---|---|---|
id PK |
|
No |
nextval('config.marc_field_id_seq'::regclass) |
|
marc_format FK |
|
No |
||
marc_record_type |
|
No |
||
tag |
|
No |
||
name |
|
Yes |
||
description |
|
Yes |
||
fixed_field |
|
Yes |
||
repeatable |
|
Yes |
||
mandatory |
|
Yes |
||
hidden |
|
Yes |
||
owner FK |
|
Yes |
Foreign Keys
| Column(s) | References | On Delete | On Update | Deferrable | Constraint |
|---|---|---|---|---|---|
|
NO ACTION |
NO ACTION |
DEFERRED |
|
|
|
NO ACTION |
NO ACTION |
DEFERRED |
|
Indexes
| Index | Method | Definition |
|---|---|---|
|
btree |
|
|
btree |
|
|
btree |
|
|
btree |
|