Revision 11391
Added by Aaron Marcuse-Kubitza about 11 years ago
schemas/vegbien.sql | ||
---|---|---|
730 | 730 |
live_datasource text := rm_version_suffix($1); |
731 | 731 |
BEGIN |
732 | 732 |
PERFORM set_config('search_path', util.schema_ident($2), true); |
733 |
|
|
734 |
-- don't datasource_rm() the datasource to publish! |
|
735 |
IF live_datasource = datasource THEN RETURN; END IF; |
|
736 |
|
|
733 | 737 |
BEGIN -- nested transaction |
734 | 738 |
PERFORM datasource_rm(live_datasource, $2); |
735 | 739 |
PERFORM datasource_rename($1, live_datasource, $2); |
Also available in: Unified diff
bugfix: schemas/vegbien.sql: datasource_publish(): if the datasource to publish already has the published name, don't datasource_rm() it