Re: Fix for issue RM1220 and RM 1221 [pgadmin4] - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Fix for issue RM1220 and RM 1221 [pgadmin4]
Date
Msg-id CA+OCxow=2=qUSDU53aMuz+o8rk9U_ki3Vgsduk3Gs_YyHLjvkg@mail.gmail.com
Whole thread Raw
In response to Fix for issue RM1220 and RM 1221 [pgadmin4]  (Harshal Dhumal <harshal.dhumal@enterprisedb.com>)
Responses Re: Fix for issue RM1220 and RM 1221 [pgadmin4]  (Harshal Dhumal <harshal.dhumal@enterprisedb.com>)
List pgadmin-hackers
Hi

On Tue, Jun 21, 2016 at 11:38 AM, Harshal Dhumal
<harshal.dhumal@enterprisedb.com> wrote:
> Hi,
>
> PFA patch for issues RM1220 and RM1221
>
> Issue fixed: Backup, Restore and Maintenance were causing error with
> database name  with special characters.

This patch causes the following error when attempting to run a backup:

"quotechar" must be string, not unicode

If I fix that (by wrapping the '' in str()), it then fails with:

need to escape but no escapechar set.

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

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


pgadmin-hackers by date:

Previous
From: Surinder Kumar
Date:
Subject: [pgAdmin4][Patch]: Miscellaneous UI changes & fixes
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Remove debug code