Reverse search

Moderator: NorbertKrupa

Post Reply
Posts: 1
Joined: Wed Jul 26, 2017 9:41 am

Reverse search

Post by erihanse » Wed Jul 26, 2017 9:52 am

How do I do a reverse search? Pressing CTRL-R doesn't bring up the reverse-i-search prompt, it only cycles through the previous commands.

User avatar
Site Admin
Site Admin
Posts: 1798
Joined: Sat Jan 21, 2012 4:58 am

Re: Reverse search

Post by JimKnicely » Thu Jul 27, 2017 1:32 pm

Are you talking about in vsql?

vsql supports the tecla library for convenient line editing and retrieval.

See: ... diting.htm

Sounds like you are looking for the "history-search-backward" key binding.

By default you can search backwards in the command history by typing in a keyword that you want to search for at the vsql prompt, then hit <esc> followed by <p>.
Jim Knicely


Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

Post Reply

Return to “Vertica Database Administration”