19.2. Deleting a Shared Directory (metastore.remove_folder) #
Required privileges: Postgres Pro AXE administrator only. For a full list of stored procedures and privileges, refer to Section 12.1.
Execute the following command on the Postgres Pro AXE server:
SELECT metastore.remove_folder('shared_directory_name') ON CONFLICT DO NOTHING;
Where shared_directory_name is the name of the shared directory that must be deleted.
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 19.2. Executing the metastore.remove_folder Stored Procedure
SELECT metastore.remove_folder('shared_directory_example') ON CONFLICT DO NOTHING;