Re: BUG #14779: Can't Backup Database

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: myprofmailbox(at)gmail(dot)com
Cc: PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14779: Can't Backup Database
Date: 2017-08-14 22:35:09
Message-ID: CAB7nPqRx5oc0Je8nSTOaegKABEn+yqYcX3e-MumHvKR8tKAmJw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Aug 15, 2017 at 6:55 AM, <myprofmailbox(at)gmail(dot)com> wrote:
> I'm using Postgresql v9.3 with Odoo, and the company want to have an
> arabic name for every database (company in Odoo).
> I created four arabic separate databases (with arabic database name for each
> one)...Until now everything goes well, but when i want to backup any
> database i receive an error (uknown "?????" database). I think that the
> problem is coming from pg_dump with utf8...i'm really blocked ...Do you have
> any solution for that? Thank you in advance for help.

You may want to use chcp 65001 before running pg_dump so the encoding
used by cmd is correct.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Geoghegan 2017-08-14 22:35:24 Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values
Previous Message Andres Freund 2017-08-14 22:29:55 Re: [postgresql 10 beta3] unrecognized node type: 90