O
O
Oleg Bugrov2016-09-07 21:31:49
PostgreSQL
Oleg Bugrov, 2016-09-07 21:31:49

How to enable autocomplete in postgresql psql?

Good, what is the name of the library for autocompleting commands in psql by tab, by analogy with shell linux. Arrow up - command history. I read that you need to collect from sources with a certain flag. Question - is it possible to enable this option for psql installed from the debian repository?
debian 8
postgresql 9.6

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2016-09-08
@mrakodav

If readline is installed on the system, then autocompletion will work in psql.
apt-get install readline-common

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question