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

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
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:53:40
Message-ID: AANLkTi==RAn3pyUgMR_zXip18c4VUvcgqwt0tUM4PNBF@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Jasmin Dizdarevic 2011-01-06 16:34:26 Re: pgAdmin III commit: Pull keywords dynamically from PostgreSQL headers
Previous Message Guillaume Lelarge 2011-01-06 14:02:25 Re: Ticket 266: Unable to backup table when quotation marks used in the name