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

From Peter Eisentraut
Subject Re: [NOVICE] psql readline Tab insert tab
Date
Msg-id 556C992E.6010301@gmx.net
Whole thread Raw
In response to Re: [NOVICE] psql readline Tab insert tab  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Responses Re: [NOVICE] psql readline Tab insert tab  (Albe Laurenz <laurenz.albe@wien.gv.at>)
List pgsql-hackers
On 6/1/15 7:00 AM, Albe Laurenz wrote:
> 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?

There is already a section about this on the psql man page.  (Look for
"disable-completion".)





pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [CORE] postpone next week's release
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_xlog -> pg_xjournal?