pgAdmin III: Query Window does not give any error, if it does not able to open the given file.

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Dave Page <dave(dot)page(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: pgAdmin III: Query Window does not give any error, if it does not able to open the given file.
Date: 2010-03-17 10:36:28
Message-ID: 8cf965d31003170336r7bc66226vda838321b031540d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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

Attachment Content-Type Size
FB12821_v2.patch application/octet-stream 1.2 KB
FB12821_REL_1_10_0_PATCHES_v1.patch application/octet-stream 630 bytes

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message pgAdmin Trac 2010-03-17 11:31:11 [pgAdmin III] #150: Two feature requests for the Graphical Query Builder
Previous Message Guillaume Lelarge 2010-03-16 23:29:11 Re: pgAdmin III v1.10.2 released