Re: Annoying messages when copy sql code to psql terminal - Mailing list pgsql-general

From Tom Lane
Subject Re: Annoying messages when copy sql code to psql terminal
Date
Msg-id 27369.1211898566@sss.pgh.pa.us
Whole thread Raw
In response to Annoying messages when copy sql code to psql terminal  ("A B" <gentosaker@gmail.com>)
Responses Re: Annoying messages when copy sql code to psql terminal  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-general
"A B" <gentosaker@gmail.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

> IF FOUND THEN

> then I get the words

> ABORT        CHECKPOINT   COMMIT       DECLARE      EXECUTE
> ...

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.

            regards, tom lane

pgsql-general by date:

Previous
From: "Dave Page"
Date:
Subject: Re: New MS patent: sounds like PG db rules
Next
From: Justin
Date:
Subject: Re: New MS patent: sounds like PG db rules