mirror of
https://github.com/goharbor/harbor
synced 2025-04-29 17:13:54 +00:00

To ensure the upgrade execution idempotence, it needs to clean the $PGDATANEW on pg_upgrade failure. Otherwise, the upgrade will skip the upgrade process from the second time launch as the exist of $PGDATANEW. Signed-off-by: Wang Yan <wangyan@vmware.com>