No readline support for psql after using anaconda to install postgres

时间:2017-03-02 23:32:30

标签: sql postgresql readline

I installed postgres with my conda package manager

conda install postgres

But when I connect to my DB at the command line (using Terminal on a Mac) via psql, none of the readline functions work (e.g., up arrow doesn't retrieve previous command). Is this normal? What should I use instead?

1 个答案:

答案 0 :(得分:0)

这似乎是anaconda的一个问题

conda uninstall postgresql

安装自制软件以获取与readline一起使用的postgres版本

brew install postgresql