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

From Guillaume Lelarge
Subject Re: Ticket 266: Unable to backup table when quotation marks used in the name
Date
Msg-id 4D2A0159.9020207@lelarge.info
Whole thread Raw
In response to Re: Ticket 266: Unable to backup table when quotation marks used in the name  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
Le 06/01/2011 15:53, Dave Page a écrit :
> On Thu, Jan 6, 2011 at 2:02 PM, Guillaume Lelarge
> <guillaume@lelarge.info> wrote:
>> Le 06/01/2011 10:40, Dave Page a écrit :
>>> It looks like as feared, this patch did break the quoting of some
>>> things, as I'm starting to get bugs reported internally here that are
>>> not present in 1.10. Eg. this one, where a database name contains
>>> quotes:
>>>
>>> /opt/PostgresPlus/9.0AS/bin/pg_dump --host localhost --port 5444
>>> --username "enterprisedb" --format custom --blobs --verbose --file
>>> "/home/edb/abbas.backup" \"AB\"
>>> pg_dump: [archiver (db)] connection to database ""AB"" failed: FATAL:
>>> database ""AB"" does not exist
>>> pg_dump: *** aborted because of error
>>>
>>> Process returned exit code 1.
>>>
>>> Can you check your work please Guillaume?
>>>
>>
>> I'm already working on it since Sean Ayres reported this bug (see "Error
>> with pgAdmin III backup/restore" thread on pgadmin-support).
>>
>> I have a patch but I need to check it on Windows first.
>
> Cool, thanks.
>

Patch checked and pushed :)


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

pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Fix the quoting of the database in the Dump/Restore
Next
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Forgot to update the xrcDialogs.cpp file