From: | Dave Page <dave(dot)page(at)enterprisedb(dot)com> |
---|---|
To: | Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com> |
Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: pgAdmin III: Query Window does not give any error, if it does not able to open the given file. |
Date: | 2010-03-19 09:43:18 |
Message-ID: | 937d27e11003190243v5aade531s4123051d46147322@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
On Wed, Mar 17, 2010 at 10:36 AM, Ashesh Vashi
<ashesh(dot)vashi(at)enterprisedb(dot)com> wrote:
> Hi Dave/Team,
> We found that - Query window does not give any error, if it does not able to
> open the selected file.
> The problem was: it is not able to convert the contents of the file in
> Unicode characters. :-(.
> The patch for the trunk throws a warning from wxUtfFile::Read function and
> returns with -1.
> The patch for the REL-1_10_0_PATCHES branch throws a warning only from
> frmQuery::OpenLastFile function.
Thanks. I applied the patch for trunk to both branches, as I couldn't
see any reason they should be different. I also simplified the message
from the one I originally suggested to you, because turning off the
UTF-8 option doesn't always help.
--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
PG East Conference: http://www.enterprisedb.com/community/nav-pg-east-2010.do
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2010-03-19 09:51:41 | Re: PATCH: Fail to restore table/function, if it has special characters. |
Previous Message | svn | 2010-03-19 09:39:55 | SVN Commit by dpage: r8233 - in trunk/pgadmin3: . pgadmin/include/utils pgadmin/utils |