Execute the following query:
SELECT metastore.remove_storage('storage_name');
Where storage_name is the name of the storage
that will be deleted.
Example 15.3.
SELECT metastore.remove_storage('storage_example');
Once the query is executed, pgpro_metastore performs the following actions:
Verifies user privileges.
Creates a new entry in the
pga_snapshot
metadata table and specifies for the storage and all its associated
pgpro_metastore objects
the end_snapshot value in the
pga_storage
metadata table and other metadata tables.