pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jan Lentfer <jan.lentfer@web.de>
To: Tatsuo Ishii <ishii@postgresql.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Encoding problems with "COMMENT ON DATABASE .." causing pg_restore (and pg_upgrade) to fail
Date: Wed, 27 Jan 2016 08:44:27 +0100
Message-ID: <a449263f8e2ac8dc5c4454fac2b24b05@neslonek.homeunix.org> (raw)
In-Reply-To: <20160127.094510.1792875178673024937.t-ishii@sraoss.co.jp>
References: <666abab3fe03561c77dbfc661b023985@neslonek.homeunix.org>
	<20160127.094510.1792875178673024937.t-ishii@sraoss.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Am 2016-01-27 01:45, schrieb Tatsuo Ishii:
> I am not familiar with pgadmin3 but it seems a bug with pgadmin3 or
> misuse of it to me. Probably when this:
> 
>> ---> use pgadmin3 on Windows to set comment on database coment_test 
>> with
>> ---> string "für", while being connected to postgres (SQL_ASCII 
>> encoded)
> 
> was executed, the client encoding is not properly set to UTF-8 for
> some reasons.

I think you are actually right. It seems this only happens if you 
initially connect to a SQL_ASCII databse with pgadmin3 and then set a 
comment containing special characters on a UTF-8 database. I could now 
also reproduce this behaviour on a Linux host with Postgre 9.4.5.
And I can also confirm that this does not happen using psql.

I will forward this issue to the pgadmin mailing list.

Thanks and best regards

Jan


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (10+ messages)  latest in thread

Message-ID: <a449263f8e2ac8dc5c4454fac2b24b05@neslonek.homeunix.org>
Permalink:  ../a449263f8e2ac8dc5c4454fac2b24b05@neslonek.homeunix.org/
Also on:    postgresql.org/message-id/a449263f8e2ac8dc5c4454fac2b24b05@neslonek.homeunix.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: jan.lentfer@web.de, ishii@postgresql.org
  Subject: Re: Encoding problems with "COMMENT ON DATABASE .." causing pg_restore (and pg_upgrade) to fail
  In-Reply-To: <a449263f8e2ac8dc5c4454fac2b24b05@neslonek.homeunix.org>
  References: <666abab3fe03561c77dbfc661b023985@neslonek.homeunix.org> <20160127.094510.1792875178673024937.t-ishii@sraoss.co.jp> <a449263f8e2ac8dc5c4454fac2b24b05@neslonek.homeunix.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox