Re: Return of "can't paste into psql" issue

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Return of "can't paste into psql" issue
Date: 2013-07-17 23:36:59
Message-ID: 51E72A9B.4000201@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 07/17/2013 04:30 PM, Dimitri Fontaine wrote:
> Josh Berkus <josh(at)agliodbs(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2013-07-18 00:39:26 Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])
Previous Message Dimitri Fontaine 2013-07-17 23:30:41 Re: Return of "can't paste into psql" issue