Re: BUG #7726: Can't paste sqls size>4096 to psql console. - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #7726: Can't paste sqls size>4096 to psql console.
Date
Msg-id 17161.1354558488@sss.pgh.pa.us
Whole thread Raw
In response to BUG #7726: Can't paste sqls size>4096 to psql console.  (xjl@99jsj.com)
List pgsql-bugs
xjl@99jsj.com writes:
> 1. Copy 4095 chars of sql statements to clipboard.
> 2. Open psql in gnome-terminal, and paste the script from the clipboard
> 3. No problem.

> 4. Copy 5005 chars of sql statements to clipboard
> 5. Paste to psql.
> 6. Only appx 4096 chars are pasted, but it's not the head part. Something
> just wrong. Some statements are broken.

This is going to be the fault of your terminal program, not psql.
psql doesn't even know that you're pasting something rather than just
typing it manually.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Cédric Villemain
Date:
Subject: Re: BUG #7726: Can't paste sqls size>4096 to psql console.
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #7722: extract(epoch from age(...)) appears to be broken