On 2009-06-27, Merlin Moncure <mmoncure(at)gmail(dot)com> 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?
one way to disable readline is to use cat|psql instead of psql