15.2. Deleting a Storage #
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_snapshotmetadata table and specifies for the storage and all its associated pgpro_metastore objects theend_snapshotvalue in thepga_storagemetadata table and other metadata tables.