Search Postgresql Archives

Re: Annoying messages when copy sql code to psql terminal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom Lane escribió:
> "A B" <gentosaker@xxxxxxxxx> writes:
> > Whenever I use copy-paste to run code in a terminal window that is
> > running psql, and the code contains a row like
> > [...]

> Either avoid copying/pasting tabs, or turn off readline
> (-n option to psql, I think, but check the manual).
> 
> There's probably a way to turn off tab-completion without
> disabling readline altogether, but I don't know how offhand.

This can be done by adding 

$if psql
   set disable-completion on
$endif

to .inputrc.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux