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 4D25CB71.1000403@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>)
Responses Re: Ticket 266: Unable to backup table when quotation marks used in the name
List pgadmin-hackers
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.


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

pgadmin-hackers by date:

Previous
From: "pgAdmin Trac"
Date:
Subject: [pgAdmin III] #297: big value are not displayed in the output grid
Next
From: Dave Page
Date:
Subject: Re: Ticket 266: Unable to backup table when quotation marks used in the name