pgAdmin III: Query Window does not give any error, if it does not able to open the given file.
pgAdmin III: Query Window does not give any error, if it does not able to open the given file.
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 & Regards,
Ashesh Vashi
EnterpriseDB INDIA: www.enterprisedb.com
Re: pgAdmin III: Query Window does not give any error, if it does not able to open the given file.
От:
Dave Page <dave.page@enterprisedb.com>
Дата:
On Wed, Mar 17, 2010 at 10:36 AM, Ashesh Vashi 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