Re: [NOVICE] psql readline Tab insert tab - Mailing list pgsql-hackers

From Albe Laurenz
Subject Re: [NOVICE] psql readline Tab insert tab
Date
Msg-id A737B7A37273E048B164557ADEF4A58B36618E12@ntex2010i.host.magwien.gv.at
Whole thread Raw
Responses Re: [NOVICE] psql readline Tab insert tab  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Hans Ginzel wrote:
>>> how to make psql (readline) to insert tab when Tab is pressed? E.g. for
>>> pasting. I know, there is -n option. But then the history is not
>>> accessible.

>> It could be done by adding the following lines to your ~/.inputrc file:
>>
>> $if Psql
>> TAB: tab-insert
>> $endif

> Great! Thank you very much. Could this be added as note to the -n option
> of the page http://www.postgresql.org/docs/current/static/app-psql.html,
> please?

Would that be worth an addition to the documentation?

Yours,
Laurenz Albe

Attachment

pgsql-hackers by date:

Previous
From: Jeevan Chalke
Date:
Subject: Re: psql :: support for \ev viewname and \sv viewname
Next
From: Fabien COELHO
Date:
Subject: checkpointer continuous flushing