I’m running Monterey 12.6 on Intel and suddenly I get in Software Update the message “An update is available for your Mac – Command Line Tools beta 3 for Xcode 14.1” although I do not have installed any Xcode 14.1 beta version on this Mac.
==> Upgrading postgresql data from 10 to 11...
〜省略〜
lc_collate values for database "postgres" do not match: old "ja_JP.UTF-8", new "en_US.UTF-8"
Failure, exiting
Error: Upgrading postgresql data from 10 to 11 failed!
Create a bootable installer for macOS – Apple SupportWith macOS High Sierra, Sierra, El Capitan, Yosemite, or Mavericks, you can use a USB flash drive or other storage media as a startup disk from which to install the Mac operating system.
FATAL: database files are incompatible with server
DETAIL: The data directory was initialized by PostgreSQL version 9.5, which is not compatible with this version 9.6.2.
Upgrade Complete
----------------
Optimizer statistics are not transferred by pg_upgrade so,
once you start the new server, consider running:
./analyze_new_cluster.sh
Running this script will delete the old cluster's data files:
./delete_old_cluster.sh