我升级到 OSX Catalina,在修复损坏的软件包的过程中,无意中posgresql从版本 11 升级到版本 12。当我尝试启动时,postgresql我在日志中看到以下内容:
2020-07-18 17:51:16.885 AEST [42394] FATAL: database files are incompatible with server
2020-07-18 17:51:16.885 AEST [42394] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 12.3.
Run Code Online (Sandbox Code Playgroud)
如何删除版本 12,然后重新安装版本 11?我不确定我正在使用版本 11 的哪个次要版本。我更喜欢使用brew.
postgresql ×1