Copy quoting

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: <pgadmin-hackers(at)postgresql(dot)org>
Subject: Copy quoting
Date: 2006-01-08 14:53:56
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE92E98E@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
pgadmin_copy_quoting2.patch application/octet-stream 8.9 KB
pgadmin_copy_quoting1.patch application/octet-stream 1.0 KB

Browse pgadmin-hackers by date

  From Date Subject
Next Message Magnus Hagander 2006-01-08 14:55:15 Patch: Select all in result pane
Previous Message Magnus Hagander 2006-01-08 14:50:01 Patch: Export unicode typo