Revision 6645
Added by Aaron Marcuse-Kubitza about 12 years ago
Makefile | ||
---|---|---|
99 | 99 |
|
100 | 100 |
confirmRm = $(call confirm,WARNING: This will delete the archived import $(1)!) |
101 | 101 |
|
102 |
public* = $(*:vegbien.%=public.%) |
|
103 |
|
|
102 | 104 |
%.backup/remove: %.backup _always |
103 |
@$(call confirmRm,$*)
|
|
104 |
echo $(call rmSchema,$*)|$(bin)/psql_script_vegbien
|
|
105 |
@$(call confirmRm,$(public*))
|
|
106 |
echo $(call rmSchema,$(public*))|$(bin)/psql_script_vegbien
|
|
105 | 107 |
|
106 | 108 |
%.backup/rm_indexes: %.backup _always |
107 | 109 |
$(pg_dump) $*|$(bin)/mk_rm_indexes|$(psqlVerbose) |
Also available in: Unified diff
backups/Makefile: Support removing public schema versions based on the version of a full DB backup