从v11 12升级PostgreSQL时丢失所有表

时间:2020-03-26 19:55:50

标签: postgresql macos

我升级了Postgres,现在它不显示任何表格了。有人可以帮忙吗?

这是错误:

Error: Upgrading postgresql data from 11 to 12 failed!

==> Removing empty postgresql initdb database...

==> Moving postgresql data back from /usr/local/var/postgres.old to /usr/local/var/postgres...

Error: Failure while executing; `/usr/local/opt/postgresql/bin/pg_upgrade -r -b /usr/local/Cellar/postgresql@11/11.6/bin -B /usr/local/opt/postgresql/bin -d /usr/local/var/postgres.old -D /usr/local/var/postgres -j 4` exited with 1.

0 个答案:

没有答案