Paste rows rough patch

Поиск
Список
Период
Сортировка
От Edward Di Geronimo Jr.
Тема Paste rows rough patch
Дата
Msg-id 20060502012606.6u8464mor0e8o08w@webmail.picoip.com
обсуждение исходный текст
Список pgadmin-hackers
Attached is a rough patch to allow pasting of rows into the edit grid.
It's not intended to be a final solution, but rather enough to start
some discussion.

This patch is rather simple - it always deliminates columns by tabs,
and stops if it hits a new line. It pastes data starting at the first
column of the row the cursor is on. Right now it doesn't pay any
attention to the column details, so it will gladly insert data into
serial columns or whatever.

I figure the proper solution should probably be to obey the copy
settings for deliminating columns.

As to things like serial & oid columns, how does everyone feel about
that? Maybe we could add an option to paste values in, skip the
columns, or prompt?

Any other thoughts on how this should work?

Ed

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: "Edward Di Geronimo Jr."
Дата:
Сообщение: Re: Updated copy patch
Следующее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r5108 - in branches/REL-1_4_0_PATCHES/pgadmin3: . src/frm