From: Tom Lane <tgl@sss.pgh.pa.us>
To: xjl@99jsj.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7726: Can't paste sqls size>4096 to psql console.
Date: Mon, 03 Dec 2012 13:14:48 -0500
Message-ID: <17161.1354558488@sss.pgh.pa.us> (raw)
In-Reply-To: <E1TfQHQ-0007u7-BY@wrigleys.postgresql.org>
References: <E1TfQHQ-0007u7-BY@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, xjl@99jsj.com
Subject: Re: BUG #7726: Can't paste sqls size>4096 to psql console.
In-Reply-To: <17161.1354558488@sss.pgh.pa.us>
References: <E1TfQHQ-0007u7-BY@wrigleys.postgresql.org> <17161.1354558488@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox