PostgreSQL升级时在重建过程中出现与地区设置相关的错误

Yes, I’m absolutely sure. Thanks for your replies.

The real error seems to lie along these lines:

Finding the real data directory for the source cluster
could not get data directory using "/usr/lib/postgresql//bin/postgres" -D "/shared/postgres_data" -C data_directory: No such file or directory
Failure, exiting