public inbox for [email protected]
help / color / mirror / Atom feedFrom: Adrian Klaver <[email protected]>
To: Ertan Küçükoglu <[email protected]>
To: [email protected]
Subject: Re: Restore Windows dump to Linux (locale issue)
Date: Sun, 23 Nov 2025 13:47:27 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAH2i4yc95fmcbGJ1aOLfmOcjka1crOTCiuuoA30UEFVmj=iqsw@mail.gmail.com>
References: <CAH2i4yc95fmcbGJ1aOLfmOcjka1crOTCiuuoA30UEFVmj=iqsw@mail.gmail.com>
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
[email protected]
view thread (3+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Restore Windows dump to Linux (locale issue)
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox