Re: Restore Windows dump to Linux (locale issue)
Adrian Klaver <adrian.klaver@aklaver.com>
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ertan Küçükoglu <ertan.kucukoglu@gmail.com>, pgsql-general@lists.postgresql.org
Date: 2025-11-23T21:49:55Z
Lists: 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 > > psql:/db.dump:133: ERROR: invalid LC_COLLATE locale name: "tr-TR" I should have added to previous post what does, in psql, the below return: \l <database_name> > > And a bunch of other errors below. > > What can I do to complete this migration? > > Thanks & Regards, > Ertan -- Adrian Klaver adrian.klaver@aklaver.com