Actually I was using the below command to check the compatibility, it worked without any issue with 12.6 but it is not working with 1version 2.14time /usr/lib/postgresql/13/bin/pg_upgrade --old-bindir /usr/lib/postgresql/12/bin --new-bindir /usr/lib/postgresql/13/bin --old-datadir /usr/pgdata/pg_data --new-datadir /usr/pgdata/pg_data2 --link --check
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных