Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XVuP5-0001Ui-F4 for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Sep 2014 03:35:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XVuP4-0002se-BC for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Sep 2014 03:35:06 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XVhKC-0006Pp-J4 for pgsql-bugs@postgresql.org; Sun, 21 Sep 2014 13:37:12 +0000 Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XVhK8-00084W-4E for pgsql-bugs@postgresql.org; Sun, 21 Sep 2014 13:37:10 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XVhK6-0003QS-DR for pgsql-bugs@postgresql.org; Sun, 21 Sep 2014 06:37:06 -0700 Date: Sun, 21 Sep 2014 06:37:06 -0700 (PDT) From: Alon To: pgsql-bugs@postgresql.org Message-ID: <1411306626409-5819836.post@n5.nabble.com> In-Reply-To: <541E62B8.2050607@hogranch.com> References: <20140915230427.2486.29437@wrigleys.postgresql.org> <1411164953375-5819745.post@n5.nabble.com> <20140921051846.GA1565935@tornado.leadboat.com> <541E62B8.2050607@hogranch.com> Subject: =?UTF-8?Q?Re:__Re:_BUG_#11431:_Failing_to_backup_and_restore_?= =?UTF-8?Q?a_Windows_postgres_database,_with_Norwegian_Bokm=C3=A5l_locale.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -0.1 (/) 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 Yes, the Encoding might be the source of the problem, once initialized the cluster with WINDOWS1252 as following: initdb.exe -D c:/test/pgsql/data -E WINDOWS1252 --locale=3D"Norwegian (Bokm=C3=A5l)_Norway.1252" -A trust -U pgadmin pg_ctl -D "c:/test/pgsql/data" -l c:/test/bokmalLocalenblocalePG.log start=20 The cluster created with these settings: ENCODING =3D 'WIN1252' TABLESPACE =3D pg_default LC_COLLATE =3D 'Norwegian (Bokm=C3=A5l)_Norway.1252' LC_CTYPE =3D 'Norwegian (Bokm=C3=A5l)_Norway.1252' Then pg_backup will create a proper pg_dump file, that can be restored into database with a Norwegian (Bokm=C3=A5l)_Norway.1252 locale. -- View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-1= 1431-Failing-to-backup-and-restore-a-Windows-postgres-database-with-Norwegi= an-Bokm-l-locale-tp5819260p5819836.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs