From: | "Edward Di Geronimo Jr(dot)" <edigeronimo(at)xtracards(dot)com> |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | Re: Paste rows rough patch |
Date: | 2006-05-03 15:30:30 |
Message-ID: | 4458CC96.4070903@xtracards.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Dave Page wrote:
>Hmm, I'm seeing some odd behaviour...
>
>- A copy/paste of a single row seems to work in most cases, but:
>
> - Sometimes, nothing got pasted into the new row
> - Sometimes, the entire row got pasted into the end of an existing
>cell (which had been selected, prior to selecting the '*' row.
>
>
The code does the pasting based on the grid cursor position, which wx
tracks seperately from the highlighted selection. If you have the cursor
in say row 10, then click the * to highlight the * row, the cursor stays
in row 10. If you then hit paste, the data will go into row 10. Does
that help explain things?
>- Multi-row pasting doesn't work, but I guess you know that!
>
>
I wasn't planning on handling that case. I didn't even want to think
about how to handle the data validation issues on that case. It would
only really be useful on tables with no primary key or a (when I'm
finished) a serial primary key. I've gotten the feeling that pasting
multiple rows is going to be a big ordeal to implement, and therefore
wasn't planning on doing it.
Ed
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2006-05-03 16:16:44 | Re: Paste rows rough patch |
Previous Message | Dave Page | 2006-05-03 15:05:58 | Re: Paste rows rough patch |