Revision 13379
Added by Aaron Marcuse-Kubitza over 10 years ago
vegbien.sql | ||
---|---|---|
4710 | 4710 |
|
4711 | 4711 |
|
4712 | 4712 |
-- |
4713 |
-- Name: truncated_prefixed_name_regexp(text, integer); Type: FUNCTION; Schema: public_validations; Owner: - |
|
4714 |
-- |
|
4715 |
|
|
4716 |
CREATE FUNCTION truncated_prefixed_name_regexp(name text, max_prefix_len integer DEFAULT query_view_relation_max_prefix_len()) RETURNS text |
|
4717 |
LANGUAGE sql IMMUTABLE |
|
4718 |
AS $_$ |
|
4719 |
SELECT util.truncated_prefixed_name_regexp($1, $2) |
|
4720 |
$_$; |
|
4721 |
|
|
4722 |
|
|
4723 |
-- |
|
4713 | 4724 |
-- Name: validatable_datasources(anyelement); Type: FUNCTION; Schema: public_validations; Owner: - |
4714 | 4725 |
-- |
4715 | 4726 |
|
Also available in: Unified diff
schemas/vegbien.sql: added public_validations.truncated_prefixed_name_regexp(), which does not require passing in a max_prefix_len