Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TfaXe-000857-Kz for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Dec 2012 18:14:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TfaXe-0001wF-3I for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Dec 2012 18:14:54 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TfaXc-0001v2-Ht for pgsql-bugs@postgresql.org; Mon, 03 Dec 2012 18:14:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TfaXa-0006Ho-Qh for pgsql-bugs@postgresql.org; Mon, 03 Dec 2012 18:14:51 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id qB3IEmXP017162; Mon, 3 Dec 2012 13:14:48 -0500 (EST) From: Tom Lane To: xjl@99jsj.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7726: Can't paste sqls size>4096 to psql console. In-reply-to: References: Comments: In-reply-to xjl@99jsj.com message dated "Mon, 03 Dec 2012 07:17:28 +0000" Date: Mon, 03 Dec 2012 13:14:48 -0500 Message-ID: <17161.1354558488@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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