Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aOKn1-0001Gv-UB for pgsql-bugs@arkaria.postgresql.org; Wed, 27 Jan 2016 07:45:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aOKn1-0006s5-Dh for pgsql-bugs@arkaria.postgresql.org; Wed, 27 Jan 2016 07:45:19 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aOKmO-000674-96 for pgsql-bugs@postgresql.org; Wed, 27 Jan 2016 07:44:40 +0000 Received: from mout.web.de ([212.227.15.4]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1aOKmL-0002v5-Eo; Wed, 27 Jan 2016 07:44:39 +0000 Received: from vm-mailsrv.lan.net ([87.152.22.93]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0M1XE9-1a4t3L3cU5-00tR3m; Wed, 27 Jan 2016 08:44:34 +0100 Received: from localhost (localhost [127.0.0.1]) by vm-mailsrv.lan.net (Postfix) with ESMTP id 11C8CDF20; Wed, 27 Jan 2016 08:44:33 +0100 (CET) X-Spam-Flag: NO X-Spam-Score: -0.999 X-Spam-Level: X-Spam-Status: No, score=-0.999 tagged_above=-99.9 required=6.31 tests=[ALL_TRUSTED=-1, FREEMAIL_FROM=0.001] autolearn=unavailable autolearn_force=no Received: from vm-mailsrv.lan.net ([127.0.0.1]) by localhost (vm-mailsrv.lan.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4Z9AUUxz3D6c; Wed, 27 Jan 2016 08:44:28 +0100 (CET) Received: from neslonek.homeunix.org (vm-webapp-ext.dmz-lan.net [192.168.0.100]) by vm-mailsrv.lan.net (Postfix) with ESMTP id 611FCDFB2; Wed, 27 Jan 2016 08:44:27 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Wed, 27 Jan 2016 08:44:27 +0100 From: Jan Lentfer To: Tatsuo Ishii Cc: pgsql-bugs@postgresql.org Subject: Re: Encoding problems with "COMMENT ON DATABASE .." causing pg_restore (and pg_upgrade) to fail In-Reply-To: <20160127.094510.1792875178673024937.t-ishii@sraoss.co.jp> References: <666abab3fe03561c77dbfc661b023985@neslonek.homeunix.org> <20160127.094510.1792875178673024937.t-ishii@sraoss.co.jp> Message-ID: X-Sender: jan.lentfer@web.de User-Agent: Roundcube Webmail/1.1.4 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:B23UG4FZwSgdP0/od5B4+Jdz89xAMpA9QiGcbmztqk8hiUiuF7/ pwqrPsCjXgDaqaA/rp/AOrDywmilQQ6pNSAY618I0aS8JVK6oE/o/PwjiXZGJ+g6VQoOmdo Dpt59B9mycxUTjkA5AbYHyEnKVBF+W1riMMrydsOOT0dXDrnO5k9gWb5afTRuDnIaq7aeWj KcqkLgYfkKWn/pI4I3foA== X-UI-Out-Filterresults: notjunk:1;V01:K0:WRJLsBG5Xo8=:DZ4+sHzfvVY/Tal++m0wsV o2xaYawkb6b3B91aiMUNjAGm1tZlWUQu+I1cpfW8b7n4XYsgT0oGyX6sIjWM+1kZ8kAm806WE oB8JEKSXoZXf8a/8GFAVL58F7SPQJ4dO6crmz99XSJcEMSmpZ3Bhy3oVF/9KTTV3V857I6Ol2 UwB/ZTRT4SjQrSgtmv9RbFXKEu/SkMmGKIARbnx9vfbyJ/bd+1FfaJxqiGWbjXAricm4/gcnK OIwCCm6zNQHBWFc+JdUCqCm8DHurhK3ijUuKYpjzAhnTkM5VkYiA286I5kXEm8Y2MQBdWaxHd ABehviPz1ATCoruHTYqmDulN6AsDNn34yTRz+Ebpj3Z/GLpO1Xd90K6nZlH5cczTOQeHz/p0U v/I5GQ+cH9OgoyMwv5zIjvgEHHrzBajHKbM+dCkvGqamJdOwdadWmLAjHT69caCxwKOvgLpMQ DVXSkrOnmuGN5VaHIufM4FHeeqQRNr9NGTpYOh/V85qrCYCKj3B4waS6lxpjYIcmWYRIsE6NZ 4RWBYCOyKMHtAs6YX9nvyxLbaEGTSPBPGembqL65rBlbYksH/bO96UzYgpw/6F5824nTlVYvY M4nPdSJFkIsF1nLvF95DdNLyyJDpaeV37cOua8Dn62y1VV95UWiM5do/b9vvrmpiMrhlF+jI5 ORRqstlBR7KNzUfqUhHrepRc4XGjj7PLCCdB+EXUAt4kwDnQ2YAeVNP7qyIb9HAPn8HpRTROq 4essSX0tzXpGM+cdm5eQ7ilclNVt+yqGtZPaoxvWMn4ADxiX7WPO4bxPyk0CwIwPRn80P3G9f ET1vPGv X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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: >=20 >> ---> use pgadmin3 on Windows to set comment on database coment_test=20 >> with >> ---> string "f=C3=BCr", while being connected to postgres (SQL_ASCII=20 >> encoded) >=20 > 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=20 initially connect to a SQL_ASCII databse with pgadmin3 and then set a=20 comment containing special characters on a UTF-8 database. I could now=20 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 --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs