Re: Restore Windows dump to Linux (locale issue) - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Restore Windows dump to Linux (locale issue)
Date
Msg-id 1985f49f-6c62-4188-9827-4d0595339d92@aklaver.com
Whole thread Raw
In response to Restore Windows dump to Linux (locale issue)  (Ertan Küçükoglu <ertan.kucukoglu@gmail.com>)
List pgsql-general
On 11/23/25 13:41, Ertan Küçükoglu wrote:
> Hello,
> 
> I am using PostgreSQL 18.1 on a Windows system.
> I need to move that database to a Linux system of the same version number.
> 
> Windows system use locales name as tr-TR (this is UTF-8 locale)
> Linux system use locale name as tr_TR.UTF-8
> 
> My cluster backup gives error at restore (I think because of that locale 
> naming difference) as below

What was the complete command you gave to do the dump?

> 
> psql:/db.dump:133: ERROR:  invalid LC_COLLATE locale name: "tr-TR"

What objects where the errors on?

> 
> And a bunch of other errors below.
> 
> What can I do to complete this migration?
> 
> Thanks & Regards,
> Ertan


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Ertan Küçükoglu
Date:
Subject: Restore Windows dump to Linux (locale issue)
Next
From: Adrian Klaver
Date:
Subject: Re: Restore Windows dump to Linux (locale issue)