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-09 18:41:29
Message-ID: 4D2A0159.9020207@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Le 06/01/2011 15:53, Dave Page a écrit :
> On Thu, Jan 6, 2011 at 2:02 PM, Guillaume Lelarge
> <guillaume(at)lelarge(dot)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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2011-01-09 18:43:09 pgAdmin III commit: Forgot to update the xrcDialogs.cpp file
Previous Message Guillaume Lelarge 2011-01-09 18:39:17 pgAdmin III commit: Fix the quoting of the database in the Dump/Restore