config.z3950_index_field_map
|
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.z3950_index_field_map_id_seq'::regclass) |
|
label |
|
No |
||
metabib_field FK |
|
Yes |
||
record_attr FK |
|
Yes |
||
z3950_attr FK |
|
Yes |
||
z3950_attr_type |
|
Yes |
Foreign Keys
| Column(s) | References | On Delete | On Update | Deferrable | Constraint |
|---|---|---|---|---|---|
|
NO ACTION |
CASCADE |
DEFERRED |
|
|
|
NO ACTION |
NO ACTION |
No |
|
|
|
NO ACTION |
NO ACTION |
No |
|
Indexes
| Index | Method | Definition |
|---|---|---|
|
btree |
|
Triggers
| Trigger | Timing | Event | Level | Function |
|---|---|---|---|---|
|
AFTER |
INSERT OR UPDATE |
ROW |
Trigger Bodies
valid_z3950_attr_type
Function: evergreen.z3950_attr_name_is_valid()
Timing: AFTER INSERT OR UPDATE ROW
BEGIN
PERFORM * FROM config.z3950_attr WHERE name = NEW.z3950_attr_type;
IF FOUND THEN
RETURN NULL;
END IF;
RAISE EXCEPTION '% is not a valid Z39.50 attribute type', NEW.z3950_attr_type;
END;