Skip to content
Snippets Groups Projects
Commit 32a099d4 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Utility functions raising exceptions have specified log_min_messages=FATAL to...

Utility functions raising exceptions have specified log_min_messages=FATAL to eliminate exception messages from SQL server logs
parent a59e73b7
No related branches found
No related tags found
2 merge requests!827Merge develop changes to master,!690Issue #240 - another set of changes
......@@ -21,6 +21,7 @@ CREATE OR REPLACE FUNCTION hivemind_app.find_comment_id(
in _check boolean)
RETURNS INT
LANGUAGE 'plpgsql'
SET log_min_messages=FATAL
AS
$function$
DECLARE
......@@ -61,6 +62,7 @@ CREATE OR REPLACE FUNCTION hivemind_app.find_account_id(
in _check boolean)
RETURNS INT
LANGUAGE 'plpgsql'
SET log_min_messages=FATAL
AS
$function$
DECLARE
......@@ -85,6 +87,7 @@ CREATE OR REPLACE FUNCTION hivemind_app.find_tag_id(
)
RETURNS INTEGER
LANGUAGE 'plpgsql' STABLE
SET log_min_messages=FATAL
AS
$function$
DECLARE
......@@ -109,6 +112,7 @@ CREATE OR REPLACE FUNCTION hivemind_app.find_category_id(
)
RETURNS INTEGER
LANGUAGE 'plpgsql' STABLE
SET log_min_messages=FATAL
AS
$function$
DECLARE
......@@ -133,6 +137,7 @@ CREATE OR REPLACE FUNCTION hivemind_app.find_community_id(
)
RETURNS INTEGER
LANGUAGE 'plpgsql' STABLE
SET log_min_messages=FATAL
AS
$function$
DECLARE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment