Revision 12430
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/schemas/util.sql | ||
---|---|---|
957 | 957 |
|
958 | 958 |
|
959 | 959 |
-- |
960 |
-- Name: debug_print_return_value(anyelement); Type: FUNCTION; Schema: util; Owner: - |
|
961 |
-- |
|
962 |
|
|
963 |
CREATE FUNCTION debug_print_return_value(value anyelement) RETURNS anyelement |
|
964 |
LANGUAGE sql IMMUTABLE |
|
965 |
AS $_$ |
|
966 |
SELECT util.raise_notice('returns: '||util.quote_typed($1)); |
|
967 |
SELECT $1; |
|
968 |
$_$; |
|
969 |
|
|
970 |
|
|
971 |
-- |
|
960 | 972 |
-- Name: debug_print_sql(text); Type: FUNCTION; Schema: util; Owner: - |
961 | 973 |
-- |
962 | 974 |
|
Also available in: Unified diff
schemas/util.sql: added debug_print_return_value()