Regarding autocomplete

Started by Mageshwaranalmost 19 years ago2 messagesgeneral
Jump to latest
#1Mageshwaran
j_mageshwaran@sifycorp.com

Hi all,

Can anybody tell me how to enable autocomplete and history in psql.

Thanks in advance.

********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to
Sify Limited and is intended for use only by the individual or entity to
which it is addressed, and may contain information that is privileged,
confidential or exempt from disclosure under applicable law. If this is a
forwarded message, the content of this E-MAIL may not have been sent with
the authority of the Company. If you are not the intended recipient, an
agent of the intended recipient or a person responsible for delivering the
information to the named recipient, you are notified that any use,
distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail & notify us
immediately at admin@sifycorp.com

#2Stuart Cooper
stuart.cooper@gmail.com
In reply to: Mageshwaran (#1)
Re: Regarding autocomplete

Can anybody tell me how to enable autocomplete and history in psql.

Make sure your platform has the readline libraries installed.

Under an RPM based Linux, try
$ rpm -qa | grep readline

You can also under Linux try $ ldd psql
and see if it finds readline.so as one of its dependencies.

I can't help you on Windows or Mac.

Hope this helps,
Stuart.