CJVT updates August and September 2026
This commit is contained in:
@@ -31,21 +31,6 @@ DECLARE
|
||||
_secondary_domain_id domain_secondary.id%type;
|
||||
|
||||
BEGIN
|
||||
-- Check uniqueness of names within own dictionaries.
|
||||
IF EXISTS (
|
||||
SELECT 1
|
||||
FROM dictionary
|
||||
WHERE
|
||||
count_comments IS NOT NULL AND -- Indicator of own dictionaries.
|
||||
(
|
||||
name_sl = _name_sl OR
|
||||
name_sl_short = _name_sl_short OR
|
||||
name_en = _name_en
|
||||
)
|
||||
) THEN
|
||||
RAISE EXCEPTION 'One of dictionary names not unique among own dictionaries.';
|
||||
END IF;
|
||||
|
||||
-- Create new dictionary.
|
||||
INSERT INTO dictionary (
|
||||
name_sl,
|
||||
|
||||
Reference in New Issue
Block a user