Re: Copying / inserting new row in edit grid fails

From: Dave Page <dpage(at)postgresql(dot)org>
To: Erwin Brandstetter <brandstetter(at)falter(dot)at>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Copying / inserting new row in edit grid fails
Date: 2007-07-05 09:16:32
Message-ID: 468CB6F0.3050009@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Erwin Brandstetter wrote:
> Hi developers! Hi Dave!
>
> Testing the new snapshot: pgAdmin III 1.7.0 (Jun 22 2007, rev:
> 6379:6385). Client Win XP, host: Debian Sarge / PG 8.1.8
>
> I have noticed a shortcoming in the edit grid. When I copy a row and
> insert it as new, the algorithm bails on the first '\n' in a text-field.
> The rest of the data is not inserted.
> I guess you have to escape line breaks.
> BTW, I enter these line breaks by pressing <shift><enter> in Windows.

Hi Erwin,

Copying strings with \n's requires Result Copy Quoting to be enabled. If
there are no quotes around the strings, we have no way to tell where the
end is (remember, you can copy multiple rows as well).

Regards, Dave

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Erwin Brandstetter 2007-07-05 16:28:07 Re: Copying / inserting new row in edit grid fails
Previous Message svn 2007-07-05 02:03:54 SVN Commit by hiroshi: r6414 - in trunk/pgadmin3: . pgadmin/frm