Ticket 266: Unable to backup table when quotation marks used in the name - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject Ticket 266: Unable to backup table when quotation marks used in the name
Date
Msg-id 4CE457C7.2020507@lelarge.info
Whole thread Raw
Responses Re: Ticket 266: Unable to backup table when quotation marks used in the name  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
List pgadmin-hackers
Hi,

I worked on this bug since sunday evening, and it's really an annoying
one. We have an issue with objects' names containing double quotes when
doing a backup, whatever your OS is.

I found a fix, and I would usually commit it ASAP. But this time, I'm a
bit worried. I don't understand why the commandLineCleanOption()
function (in misc.c) is so complicated. There should be a reason.
Unfortunately, The fix I wrote deletes almost all of it.

If someone has an explanation of the function, I'm happy to hear it.

And if someone thinks my patch is just plain stupid, tell me before I
commit it :)

Thanks.


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

Attachment

pgadmin-hackers by date:

Previous
From: "pgAdmin Trac"
Date:
Subject: [pgAdmin III] #283: Add an option to save files without UTF-8 BOM sequence
Next
From: "pgAdmin Trac"
Date:
Subject: Re: [pgAdmin III] #266: Unable to backup table when quotation marks used in the name