简体   繁体   中英

How to downgrade Postgres from 9.6 to 9.5

I removed my 9.6 postgres.app (removing the application by dragging it to the trash) and downloaded postgres.app.

However, when I did

locate initdb 

It still points to the wrong location:

/Applications/Postgres.app/Contents/Versions/9.6/bin/initdb
/Applications/Postgres.app/Contents/Versions/9.6/share/doc/postgresql/html/app-initdb.html
/Applications/Postgres.app/Contents/Versions/9.6/share/man/man1/initdb.1

What would be the most efficient way to resolve this problem?

根据e4c5的建议,我可以通过在OSX环境中执行以下操作来更新路径:

sudo /usr/libexec/locate.updatedb

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM