27.1. Creating an Analytical Schema (metastore.add_schema) #

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.add_schema('schema_name');

Where schema_name is the unique analytical schema name.

Postgres Pro AXE performs the following actions:

  1. Verifies input parameters and user privileges.

  2. Creates a new entry in the pga_schema metadata table.

Example 27.1. Executing the metastore.add_schema stored procedure

  SELECT metastore.add_schema('schema_example');