Revision 12378
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/schemas/util.sql | ||
---|---|---|
935 | 935 |
|
936 | 936 |
|
937 | 937 |
-- |
938 |
-- Name: curr_func(text, anyelement); Type: FUNCTION; Schema: util; Owner: - |
|
939 |
-- |
|
940 |
|
|
941 |
CREATE FUNCTION curr_func(func text, schema_anchor anyelement) RETURNS text |
|
942 |
LANGUAGE sql IMMUTABLE |
|
943 |
AS $$ |
|
944 |
SELECT util.schema_esc(schema_anchor)||'.'||quote_ident(func) |
|
945 |
$$; |
|
946 |
|
|
947 |
|
|
948 |
-- |
|
938 | 949 |
-- Name: debug_print_sql(text); Type: FUNCTION; Schema: util; Owner: - |
939 | 950 |
-- |
940 | 951 |
|
Also available in: Unified diff
schemas/util.sql: added curr_func(func text, schema_anchor anyelement)