24.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 18.1.
Execute the following command on the Postgres Pro AXE server:
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:
Checks input parameters and user privileges.
Creates a new entry in the
pga_snapshotmetadata table and sets theend_snapshotfield for the shared directory in thepga_foldermetadata table.
Example 24.2. Executing the metastore.remove_folder Stored Procedure
SELECT metastore.remove_folder('shared_directory_example');