Re: Invalid byte sequence errors on DB restore - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Invalid byte sequence errors on DB restore
Date
Msg-id 6dfc015b-54e6-37a0-4e5d-f22bfb15e64e@aklaver.com
Whole thread Raw
In response to Invalid byte sequence errors on DB restore  (Samuel Smith <pgsql@net153.net>)
Responses Re: Invalid byte sequence errors on DB restore  (Samuel Smith <pgsql@net153.net>)
List pgsql-general
On 3/15/20 9:18 PM, Samuel Smith wrote:
> My current DB backup routine is just to call pg_dump and pipe to gzip. 
> We recently started to get a failure to restore (which is basically just 
> using psql -f on the pg_dump file) with the following errors:
> 
> invalid byte sequence for encoding "UTF8": 0xa0
>   and
> invalid byte sequence for encoding "UTF8": 0xd7 0x20
> 
> 
> This is on a pg 9.2.24 instance. Any tips to troubleshoot?

What are the locale and encodings set to for the instance and databases 
in it?

> 
> Regards,
> Samuel Smith
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Don Seiler
Date:
Subject: Mixed Locales and Upgrading
Next
From: Scot Kreienkamp
Date:
Subject: psql crash on 9.6.16