pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #7726: Can't paste sqls size>4096 to psql console.
3+ messages / 3 participants
[nested] [flat]
* BUG #7726: Can't paste sqls size>4096 to psql console.
@ 2012-12-03 07:17 xjl@99jsj.com
0 siblings, 2 replies; 3+ messages in thread
From: xjl@99jsj.com @ 2012-12-03 07:17 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 7726
Logged by: Xie Jilei
Email address: xjl@99jsj.com
PostgreSQL version: 9.1.0
Operating system: Debian/testing
Description:
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.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #7726: Can't paste sqls size>4096 to psql console.
@ 2012-12-03 16:50 Cédric Villemain <cedric@2ndquadrant.com>
parent: xjl@99jsj.com
1 sibling, 0 replies; 3+ messages in thread
From: Cédric Villemain @ 2012-12-03 16:50 UTC (permalink / raw)
To: xjl@99jsj.com; +Cc: pgsql-bugs
Le lundi 3 décembre 2012 08:17:28, xjl@99jsj.com a écrit :
> The following bug has been logged on the website:
>
> Bug reference: 7726
> Logged by: Xie Jilei
> Email address: xjl@99jsj.com
> PostgreSQL version: 9.1.0
> Operating system: Debian/testing
> Description:
>
> 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.
Are you able to reproduce with another terminal, like 'konsole' ?
--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation
Attachments:
signature.asc (application/pgp-signature, 489B) download
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #7726: Can't paste sqls size>4096 to psql console.
@ 2012-12-03 18:14 Tom Lane <tgl@sss.pgh.pa.us>
parent: xjl@99jsj.com
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2012-12-03 18:14 UTC (permalink / raw)
To: xjl@99jsj.com; +Cc: 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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2012-12-03 18:14 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-12-03 07:17 BUG #7726: Can't paste sqls size>4096 to psql console. xjl@99jsj.com
2012-12-03 16:50 ` Cédric Villemain <cedric@2ndquadrant.com>
2012-12-03 18:14 ` Tom Lane <tgl@sss.pgh.pa.us>
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