Re: pgAdmin III Query Tool bug

From: Andrew <archa(at)pacific(dot)net(dot)au>
To: Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
Cc: Dave Page <dpage(at)postgresql(dot)org>, pgadmin-support(at)postgresql(dot)org
Subject: Re: pgAdmin III Query Tool bug
Date: 2008-01-08 07:19:22
Message-ID: 478323FA.4060405@pacific.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support

Excellent,

Thanks Hiroshi Saito, that worked a treat, I really appreciate you
posting those images. Apologies for taking up your time for something I
probably could have figured out by RTFM.

However, IMHO I still think it is a defect, in that it shouldn't really
be saving a 0 byte file silently, when you think it has successfully
saved your changes, and then when you go back to the file you find the
data you have worked on is lost. If it is in a mode not to support the
characters, then it should alert you that it cannot save those
characters. However, I will leave that for the development team to
decide if it is defective behaviour or behaviour by design.

Cheers,

Andy

Hiroshi Saito wrote:
> Hi.
>
> Please see,
> http://winpg.jp/~saito/pgAdmin/QueryTool_check/
> It is necessary to set reading and writing of an option to UTF-8.
> Although ANSI and UTF-8 are possible as for reading, the option
> is required for writing.
>
> Regards,
> Hiroshi Saito
>
> ----- Original Message ----- From: "Andrew" <archa(at)pacific(dot)net(dot)au>
>
>
> As the attachment did not appear to make it through, the actual SQL that
> causes the 0 byte save is as follows:
>
> DROP TABLE IF EXISTS bad_data;
> CREATE TABLE bad_data (
> id int NOT NULL,
> bad_data varchar(50) NOT NULL,
> PRIMARY KEY (id)
> );
>
>
>
> INSERT INTO bad_data (id, bad_data) VALUES
> (1, 'Dhabīḥah'),
> (2, 'ذَبِيْحَة');
>
> Cheers,
>
> Andy
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
> http://www.postgresql.org/about/donate
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
>

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2008-01-08 09:13:23 Re: pgAdmin III Query Tool bug
Previous Message Hiroshi Saito 2008-01-08 05:25:58 Re: pgAdmin III Query Tool bug

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2008-01-08 09:13:23 Re: pgAdmin III Query Tool bug
Previous Message Hiroshi Saito 2008-01-08 05:25:58 Re: pgAdmin III Query Tool bug