Re: Copy quoting - Mailing list pgadmin-hackers

From Magnus Hagander
Subject Re: Copy quoting
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE92E991@algol.sollentuna.se
Whole thread Raw
List pgadmin-hackers
Re-sending witohut the attached files so the list cna't eat it. Files
are at:

http://www.hagander.net/pgsql/patches/pgadmin_copy_quoting1.patch
http://www.hagander.net/pgsql/patches/pgadmin_copy_quoting2.patch

//Magnus


> -----Original Message-----
> From: Magnus Hagander
> Sent: Sunday, January 08, 2006 3:54 PM
> To: pgadmin-hackers@postgresql.org
> Subject: Copy quoting
>
> Hi!
>
> Attached are two patches around the copying-to-clipboard in
> the query editor.
>
> The first patch fixes an outright bug - the code attempted to
> read the quoting settings, but processed them wrong.
> pgadmin_copy_quoting1.patch fixes this.
>
> However, it seems wrong to use the export settings for copy
> operations. I prefer to use the same settings for copy
> always, but may sometimes need to do one-off changes when it
> comes to exporting. It also requires you to export a dummy
> file if you want to change the quoting options used for copy/paste.
>
> Therefore, included is also a second patch which creates new
> config options for quoting/separating when doing copy,
> accessed from the main options screen.
>
> Perhaps one patch on the stable branch and the other one on
> the trunk? Assuming they're acceptable, of course :-)
>
> //Magnus
>

pgadmin-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Query tool: Autocompletion
Next
From: "Magnus Hagander"
Date:
Subject: Copy quoting