Re: Paste rows rough patch

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-02 21:31:24
Message-ID: 20060502173124.0rke8dibcf4g4owk@webmail.picoip.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Quoting Dave Page <dpage(at)vale-housing(dot)co(dot)uk>:

> Yes - in particular the quote settings - I have lots of data containing
> newlines for example, which this won't work with for obvious reasons.

Ok, that's done. Seems to work ok for me, but I don't have any real
data that would stress it to test with, just a few test rows.

> OID columns should be ignored, but serial columns should be optional
> imho - just a simple 'The data you are pasting include values that will
> be inserted into a serial column. Do you want to skip the serial valules
> and allow new ones to be assigned? Y/N' prompt at paste time.

I didn't look too hard, but it looked like OIDs are always going to be
the first column when present. Based on that, I updated the patch to
skip the first column when there are OIDs.

I'm probably not going to have time to deal with the serial columns
part in the next few days. The patch should be usable now if people
feel like testing it.

Ed

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

Attachment Content-Type Size
pasterows-v2.patch text/x-patch 4.8 KB

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Chilot Damien 2006-05-03 11:38:19 Summer of Code ; pgAdmin III
Previous Message Dave Page 2006-05-02 14:24:11 Re: programmers-readme.txt