HF RL Explorer

Task: Upgrade PostgreSQL from 9.6 to 10 on Ubuntu

Task: Upgrade PostgreSQL from 9.6 to 10 on Ubuntu: a task in Terminal-Lego-15k (Harbor dataset). Write a shell script that automates the upgrade of a PostgreSQL cluster from version 9.6 to version 10, handling a custom data directory location.

The task

Write a shell script that automates the upgrade of a PostgreSQL cluster from version 9.6 to version 10, handling a custom data directory location.

Part of PrimeIntellect/Terminal-Lego-15k.