psql readline Tab insert tab - Mailing list pgsql-novice

From Hans Ginzel
Subject psql readline Tab insert tab
Date
Msg-id 2b326704fa7efcbd2375bec4432ed61a.squirrel@artax.karlin.mff.cuni.cz
Whole thread Raw
Responses Re: psql readline Tab insert tab
List pgsql-novice
Hello,

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.

I have tried
$if psql
  Control-I: "\t"
  Control-A: complete
$endif
in my ~/.inputrc. But when I press Tab psql freezes until I press Ctrl+C.

Regards
HG



pgsql-novice by date:

Previous
From: Daniel Begin
Date:
Subject: Constraint exclusion in partitions
Next
From: Albe Laurenz
Date:
Subject: Re: psql readline Tab insert tab