Project

General

Profile

« Previous | Next » 

Revision 12311

schemas/util.sql: added raise_error_notice()

View differences:

util.sql
2113 2113

  
2114 2114

  
2115 2115
--
2116
-- Name: raise_error_notice(text); Type: FUNCTION; Schema: util; Owner: -
2117
--
2118

  
2119
CREATE FUNCTION raise_error_notice(msg text) RETURNS void
2120
    LANGUAGE sql IMMUTABLE STRICT
2121
    AS $_$
2122
SELECT util.raise_notice('ERROR:  '||$1)
2123
$_$;
2124

  
2125

  
2126
--
2116 2127
-- Name: raise_notice(text); Type: FUNCTION; Schema: util; Owner: -
2117 2128
--
2118 2129

  

Also available in: Unified diff