psql readline Tab insert tab

From: "Hans Ginzel" <Hans(at)matfyz(dot)cz>
To: pgsql-novice(at)postgresql(dot)org
Subject: psql readline Tab insert tab
Date: 2015-05-26 08:57:53
Message-ID: 2b326704fa7efcbd2375bec4432ed61a.squirrel@artax.karlin.mff.cuni.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Paul Smith 2015-05-26 09:15:59 ERROR: MultiXactId xxxx has not been created yet -- apparent wraparound
Previous Message Albe Laurenz 2015-05-26 08:20:53 Re: 9.5 release notes may need ON CONFLICT DO NOTHING compatibility notice for FDW authors

Browse pgsql-novice by date

  From Date Subject
Next Message Albe Laurenz 2015-05-26 09:32:17 Re: psql readline Tab insert tab
Previous Message Nivedita Kulkarni 2015-05-26 06:46:04 [Postgresql NLS support] : Help on using NLS , Custom dictionary to enhance our website search functionality