28.2. Deleting a Shared Directory (metastore.remove_folder) #
Required privileges: Postgres Pro AXE administrator only. For more information about stored procedures and privileges, refer to Section 22.1.
Execute the following command:
SELECT metastore.remove_folder('shared_directory_name');
Where shared_directory_name is the name of the shared directory to delete.
Postgres Pro AXE performs the following actions:
Verifies input parameters and user privileges.
Creates a new entry in the
pga_snapshotmetadata table and sets theend_snapshotvalue for the shared directory in thepga_foldermetadata table.
Example 28.2. Executing the metastore.remove_folder stored procedure
SELECT metastore.remove_folder('shared_directory_example');