Improve error message on sql function

This commit is contained in:
2019-10-06 23:49:43 +02:00
parent 6d4339f2a5
commit 646c199292
4 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ begin
insert into comment_on_constitution (id, created_by_id, target_id, content, parent_comment_id)
values (_new_id, _created_by_id, _target_id, _content, _parent_comment_id);
else
raise exception 'comment with target as "%", is no implemented', reference::text;
raise exception 'comment with target as "%", is not implemented', reference::text;
end if;
_id = _new_id;
end;