update ⇒ UPDATE — casing fix only, no substantive change.
This commit is contained in:
parent
3d5773eb16
commit
42c27893f7
1 changed files with 3 additions and 2 deletions
|
@ -367,7 +367,8 @@ DELETE FROM _temp_request_configuration_change;
|
|||
|
||||
INSERT INTO _temp_request_configuration_change(new_description) VALUES(NEW.setting_requested);
|
||||
|
||||
update _temp_request_configuration_change set new_request_configuration_id = (select rc.id
|
||||
|
||||
UPDATE _temp_request_configuration_change set new_request_configuration_id = (select rc.id
|
||||
from request_configuration rc, request_type rt
|
||||
where rc.description = NEW.setting_requested
|
||||
and rt.id = rc.request_type_id
|
||||
|
@ -384,7 +385,7 @@ UPDATE _temp_request_configuration_change set old_request_configuration_id =
|
|||
|
||||
SELECT CASE
|
||||
WHEN ( (SELECT new_request_configuration_id from _temp_request_configuration_change) IS NULL )
|
||||
THEN RAISE(FAIL, "Invalid contact setting; see SettingsLookup_contact_settings view for options!")
|
||||
THEN RAISE(FAIL, "Invalid contact setting; see UserLookup_contact_settings to find what settings are permitted here!")
|
||||
END;
|
||||
|
||||
UPDATE request
|
||||
|
|
Loading…
Reference in a new issue