On Thu, 2024-10-10 at 11:52 +0530, Sameer Malve wrote:
> I have few questions.
>
> 1. As I have observed, the PostgreSQL upgrade package has only the lower
> major version binaries. So what if I want to upgrade from PG 13 to PG 16?
That works just the same.
> 2. If upgrade fails then what are the rollback steps. Do you know if it is documented somewhere?
If you didn't use the --link option of pg_upgrade, you can simply fall back to
the old cluster.
If you used --link, you will have to restore your backup (or promote a standby
server that you prepared for this eventuality).
See the pg_upgrade documentation.
Yours,
Laurenz Albe