Re: pasting into psql garbles text

From: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pasting into psql garbles text
Date: 2009-06-27 17:49:52
Message-ID: 200906271949.52714.leif@solumslekt.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Saturday 27. June 2009, Merlin Moncure wrote:
>I've noticed over a wide variety of operating systems that when you
>paste from an application into psql through a terminal (currently
>using the default gnome terminal in ubuntu), large pastes tend to get
>garbled with some of the input getting truncated. While working on
>functions, this is annoying in the extreme.
>
>Interestingly, the one platform that tends not to suffer from this is
>windows so I'm guessing this is a readline problem. Has anybody else
>noticed this? Is there a workaround?

I'm using the KDE Konsole, and I've not experienced the problem you're
describing. However, pasting large functions or multi-line queries
tends to mess up the readline history, so the next time I press arrow
up, I'll often get garbled lines and lose the prompt.
--
Leif Biberg Kristensen | Registered Linux User #338009
Me And My Database: http://solumslekt.org/blog/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2009-06-27 18:26:49 Re: pasting into psql garbles text
Previous Message Greg Stark 2009-06-27 17:38:32 Re: pasting into psql garbles text