16.2. Renaming an Analytical Table #

Execute the following query:

  SELECT metastore.rename_table('schema_name.current_table_name' or 'current_table_name', 'new_table_name');

Where:

Example 16.3. 

  SELECT metastore.rename_table('testtable', 'testtable1');

Once the query is executed, pgpro_metastore performs the following actions: