Re: [HACKERS] [NOVICE] psql readline Tab insert tab

2015-06-02 Thread Albe Laurenz
Peter Eisentraut wrote: > 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 followin

Re: [HACKERS] [NOVICE] psql readline Tab insert tab

2015-06-01 Thread Peter Eisentraut
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 fi

Re: [HACKERS] [NOVICE] psql readline Tab insert tab

2015-06-01 Thread Albe Laurenz
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