Prepare HAF upgrade procedure
To update extension:
cmake
make
sudo make install extension.hive_fork_manager
Extension should install update script hive_fork_manager_update_script_generator.sh
to the PostgreSQL directory: /usr/share/postgresql/<version>/extension
To run extension upgrade in case HAF instance is hosted directly, following command should be executed:
sudo /usr/share/postgresql/<version>/extension/hive_fork_manager_update_script_generator.sh --haf-db-name=haf_block_log --haf-admin-account=haf_admin
Docker based configuration, performs an automatic upgrade if needed.
Edited by Bartek Wrona