Re: Return of "can't paste into psql" issue - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Return of "can't paste into psql" issue
Date
Msg-id 51E72A9B.4000201@agliodbs.com
Whole thread Raw
In response to Return of "can't paste into psql" issue  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On 07/17/2013 04:30 PM, Dimitri Fontaine wrote:
> Josh Berkus <josh@agliodbs.com> writes:
>> So, an even more practical workaround (I've been using cat | psql), but
>> still a mysterious issue.
> 
> As a workaround you might try \e with EDITOR=emacs or some of the other
> solutions you've been pasting, maybe even cat, so that you can switch
> that readline-completion-bug-free environment for just that paste?

Oh, there's lots of good workarounds.  I just wanna know why the bug is
happening in the first place.

(FWIW, I hit this because I'm using a graphical editor for PL/Python
which pipes stuff to the terminal to execute it, and its piping hits the
same issues as paste-from-clipboard)

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Return of "can't paste into psql" issue
Next
From: Peter Eisentraut
Date:
Subject: Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])