Re: Ticket 266: Unable to backup table when quotation marks used in the name

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Ticket 266: Unable to backup table when quotation marks used in the name
Date: 2011-01-06 14:02:25
Message-ID: 4D25CB71.1000403@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2011-01-06 14:53:40 Re: Ticket 266: Unable to backup table when quotation marks used in the name
Previous Message pgAdmin Trac 2011-01-06 10:46:30 [pgAdmin III] #297: big value are not displayed in the output grid