Revision 12501
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/schemas/util.sql | ||
---|---|---|
2984 | 2984 |
|
2985 | 2985 |
|
2986 | 2986 |
-- |
2987 |
-- Name: schema_regexp(anyelement); Type: FUNCTION; Schema: util; Owner: - |
|
2988 |
-- |
|
2989 |
|
|
2990 |
CREATE FUNCTION schema_regexp(schema_anchor anyelement) RETURNS text |
|
2991 |
LANGUAGE sql IMMUTABLE |
|
2992 |
AS $_$ |
|
2993 |
SELECT util.str_equality_regexp(util.schema($1)) |
|
2994 |
$_$; |
|
2995 |
|
|
2996 |
|
|
2997 |
-- |
|
2987 | 2998 |
-- Name: schema_rename(text, text); Type: FUNCTION; Schema: util; Owner: - |
2988 | 2999 |
-- |
2989 | 3000 |
|
Also available in: Unified diff
schemas/util.sql: added schema_regexp(schema_anchor)