17.1. Creating a Column #

Execute the following query:

  SELECT metastore.add_column('schema_name.table_name' or 'table_name', 'column_name', 'data_type');

Where:

Example 17.1. 

  SELECT metastore.add_column('testtable', 'third_col', 'uint8');

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