Copy quoting - Mailing list pgadmin-hackers

From Magnus Hagander
Subject Copy quoting
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE92E98E@algol.sollentuna.se
Whole thread Raw
List pgadmin-hackers
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

Attachment

pgadmin-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Copy quoting
Next
From: "Magnus Hagander"
Date:
Subject: Patch: commandline connect/launch