Revision 12249
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/schemas/util.sql | ||
---|---|---|
1949 | 1949 |
|
1950 | 1950 |
|
1951 | 1951 |
-- |
1952 |
-- Name: raise_notice(text); Type: FUNCTION; Schema: util; Owner: - |
|
1953 |
-- |
|
1954 |
|
|
1955 |
CREATE FUNCTION raise_notice(msg text) RETURNS void |
|
1956 |
LANGUAGE plpgsql IMMUTABLE STRICT |
|
1957 |
AS $$ |
|
1958 |
BEGIN |
|
1959 |
RAISE NOTICE '%', msg; |
|
1960 |
END; |
|
1961 |
$$; |
|
1962 |
|
|
1963 |
|
|
1964 |
-- |
|
1952 | 1965 |
-- Name: raise_undefined_column(col_ref); Type: FUNCTION; Schema: util; Owner: - |
1953 | 1966 |
-- |
1954 | 1967 |
|
Also available in: Unified diff
schemas/util.sql: added raise_notice(), to allow NOTICEs to be raised in sql-language functions