From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | A B <gentosaker(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Annoying messages when copy sql code to psql terminal |
Date: | 2008-06-05 21:50:57 |
Message-ID: | 20080605215057.GS16502@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tom Lane escribió:
> "A B" <gentosaker(at)gmail(dot)com> 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.
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2008-06-05 22:08:55 | Re: full vacuum really slows down query |
Previous Message | Scott Marlowe | 2008-06-05 20:13:06 | Re: conditionally executing migration code |