Appendix B. Differences from Postgres Pro AXE 1.x

This appendix describes the changes in stored procedures between Postgres Pro AXE 1.x and 2.x. Operations on metadata catalog objects that previously required stored procedures now map to standard SQL commands and new stored procedures.

For backward compatibility, the stored procedures of the previous release remain available. To use them, execute the axe.create_metastore_aliases stored procedure. Certain stored procedures are deleted and cannot be executed.

For more information about updating Postgres Pro AXE, refer to Section 11.1.

The table below lists the stored procedures of the previous release, their replacements, and shows whether the previous stored procedures are still available.

Note

The previous stored procedures are supported until December 31, 2027. It is recommended to migrate to the new SQL commands and stored procedures before that date.

Postgres Pro AXE 1.x

Postgres Pro AXE 2.x

Availability in 2.x

metastore.add_storage

The default storage can be specified with the axe.data_storage_location configuration parameter.

Custom storages can be created with the axe.create_storage stored procedure

Available, but the tmp_uri parameter is ignored

metastore.remove_storage

The axe.drop_storage stored procedure

Available

metastore.add_table

The CREATE TABLE command with the USING axe clause, optionally with the AS SELECT ... WITH NO DATA clause

Available

metastore.remove_table

The DROP TABLE command with the optional CASCADE clause

Available, but the force parameter is ignored and no longer prevents deletion

metastore.rename_table

The ALTER TABLE command with the RENAME TO clause

Available, but the new name cannot contain a schema name

metastore.rename_column

The ALTER TABLE command with the RENAME COLUMN clause

Available

metastore.add_column

The ALTER TABLE command with the ADD COLUMN clause

Available

metastore.change_column_type

The ALTER TABLE command with the ALTER COLUMN and TYPE clauses

Available

metastore.delete_column

The ALTER TABLE command with the DROP COLUMN clause

Available

metastore.add_schema

The CREATE SCHEMA command

Available

metastore.remove_schema

The DROP SCHEMA command

Available

metastore.copy_table

The INSERT INTO command with the SELECT and FROM clauses

Available, but the json_name parameter is deleted. Parquet file storage parameters can now be configured using the axe.set_option_* stored procedures

metastore.add_files

The COPY command with the FROM clause

Available, but now the third parameter specifies the name of a shared directory instead of the path to the JSON file with Parquet file storage parameters

metastore.add_folder

The axe.create_folder stored procedure

Available

metastore.remove_folder

The axe.drop_folder stored procedure

Available

metastore.mgrant

The GRANT command for analytical tables or the axe.grant stored procedure for storages and shared directories

Available

metastore.mrevoke

The REVOKE command for analytical tables or the axe.revoke stored procedure for storages and shared directories

Available

metastore.set_log_statement

The axe.set_log_statement stored procedure

Available

metastore.create_view

Views for analytical tables are no longer required, since analytical tables are queried directly

Deleted

metastore.test_show_view_sql

Views for analytical tables are no longer required, since analytical tables are queried directly

Deleted

metastore.cleanup

The axe.expire_snapshots, axe.cleanup_old_files, and axe.delete_orphaned_files stored procedures

Deleted

metastore.expire_snapshot_on_time

The axe.expire_snapshots stored procedure with the expire_older_than analytics engine option

Deleted

metastore.expire_snapshot_on_ids

The axe.expire_snapshots stored procedure

Deleted

metastore.delete_expired_files

The axe.cleanup_old_files stored procedure with the delete_older_than analytics engine option

Deleted

metastore.define_catalog_connection

Connection parameters and credentials for connecting to the server with the metadata catalog are stored in the metadata catalog secret, created with the axe.create_catalog_secret stored procedure.

Whether Postgres Pro AXE connects to the metadata catalog using the secret is controlled by the axe.use_catalog_secret configuration parameter

Deleted

metastore.init

The metadata catalog is initialized automatically when the first analytical query or stored procedure is executed

Deleted

FAQ