19.2. Deleting a Shared Directory #

Execute the following query:

  SELECT metastore.remove_folder('shared_directory_name');

Where shared_directory_name is the name of the shared directory that is deleted.

Example 19.2. 

  SELECT metastore.remove_folder('shared_directory_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 shared directory the end_snapshot value in the pga_folder metadata table.