Revision 13376
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/public_.sql | ||
---|---|---|
4629 | 4629 |
LANGUAGE sql |
4630 | 4630 |
AS $_$ |
4631 | 4631 |
SELECT util.drop_relations_like( |
4632 |
COALESCE(util.truncated_prefixed_name_regexp($1, $2), '_[[:alpha:]]+_'),
|
|
4632 |
COALESCE(util.truncated_prefixed_name_regexp($1, $2), '^_[[:alpha:]]+_\d+'),
|
|
4633 | 4633 |
$3, force := true/*needed because some query-view-relations depend on others*/) |
4634 | 4634 |
$_$; |
4635 | 4635 |
|
trunk/schemas/vegbien.sql | ||
---|---|---|
4629 | 4629 |
LANGUAGE sql |
4630 | 4630 |
AS $_$ |
4631 | 4631 |
SELECT util.drop_relations_like( |
4632 |
COALESCE(util.truncated_prefixed_name_regexp($1, $2), '_[[:alpha:]]+_'),
|
|
4632 |
COALESCE(util.truncated_prefixed_name_regexp($1, $2), '^_[[:alpha:]]+_\d+'),
|
|
4633 | 4633 |
$3, force := true/*needed because some query-view-relations depend on others*/) |
4634 | 4634 |
$_$; |
4635 | 4635 |
|
Also available in: Unified diff
bugfix: schemas/public_.sql: public_validations.rm_output_queries(): default regexp needs to be anchored at beginning of string, and should match the regexp in public_validations.validation_views()