Re: pasting into psql garbles text - Mailing list pgsql-general

From Merlin Moncure
Subject Re: pasting into psql garbles text
Date
Msg-id b42b73150906290758o1810b393n4e967a7a4132933@mail.gmail.com
Whole thread Raw
In response to Re: pasting into psql garbles text  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Sat, Jun 27, 2009 at 5:12 PM, Tom Lane<tgl@sss.pgh.pa.us> wrote:
> Merlin Moncure <mmoncure@gmail.com> writes:
>> I'm starting to feel like my problems start appearing at a very fixed
>> size (like you, a few hundred or so).   Do you see this in other
>> programs (bash, vim, etc)? or only psql?
>
> I've only noticed it in psql, but there are not that many other programs
> that I tend to paste lots of input into.
>
> (experiments...)  Hmm, and another interesting thing is that it only
> seems to happen on my HPUX system, which is (intentionally) running a
> pretty ancient version of readline ... 4.2a looks like.  My Fedora 10
> box with readline 5.2 eats the same amount of pasted text without
> indigestion.  What readline version are you using?

I'm currently using 'ubuntu intrepid', which has very modern
everything (readline 5.2-3 build1).  I've noticed this problem since
the beginning of time now.  This is definitely a 'psql + something'
problem...I can paste into psql query buffer editor (vim) following a
/r/e with no problems, but not directly into psql itself.

Another interesting point:  the problem manifests with pasts over a
certain size, but tends to bork at a particular point.  The size of
the psql window affects this...smaller windows are more tolerant of
larger (but still not very large) pastes.

merlin

pgsql-general by date:

Previous
From: Cédric Villemain
Date:
Subject: Re: pasting into psql garbles text
Next
From: Merlin Moncure
Date:
Subject: Re: [PERFORM] Terrible Write Performance of a Stored Procedure