Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vNHvp-00GB3g-1n for pgsql-general@arkaria.postgresql.org; Sun, 23 Nov 2025 21:47:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vNHvn-00Feyu-2x for pgsql-general@arkaria.postgresql.org; Sun, 23 Nov 2025 21:47:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vNHvn-00Feyl-1C for pgsql-general@lists.postgresql.org; Sun, 23 Nov 2025 21:47:39 +0000 Received: from fhigh-b8-smtp.messagingengine.com ([202.12.124.159]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vNHvf-0017Q6-2d for pgsql-general@lists.postgresql.org; Sun, 23 Nov 2025 21:47:34 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id D29FD7A0076; Sun, 23 Nov 2025 16:47:28 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Sun, 23 Nov 2025 16:47:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1763934448; x=1764020848; bh=SKvYZsjVZlJPJV3sScM3YdHY4Cej76d1NxegrDQHUoA=; b= fsHFGg/64czBbbgPiy/NjYnn9OcfJ9Wkt5WzlVnru+3JzAwn7920xEB/7i4GIBqM 8f/DyZCXTGi/q00Gsd0eizhJ/GZrK+U97FkQahmTDKHQ3ZgjKL8pr8VDU/K2k7tb Vn3g33R4gj7RNhWAF1n3cYIx54xdAglXKu80DcGVEeFVplPgjIfiMJMb9azM9JuI +8Gtxt1QEidmwCvoEEn+ee1y18dDoFG+k88ksWxSzR73OSGkIjDby+02jZ+3p/nn 7xieLMg6WfN5qLegTf9GLPJQtYzeqYWUSqFJcF9/tTRhh3GuorbXADEuLFe4yOmL tHlhdQb6JYnlJom9wKvpFA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1763934448; x=1764020848; bh=S KvYZsjVZlJPJV3sScM3YdHY4Cej76d1NxegrDQHUoA=; b=HGw0WHvfKlJqaO5Vt dhzXqnPppPnpZNH1TdQTp0kkWw8NQp/N3s7hbczeJ90jxGlceZc4XhqIq/Zrkpqb NaEKvBg77KFRXwyKY+fyuP4hRFBB9His+uf/lD7evGdVH5N32sVwz5y5gMnjIorJ /m8eaBOUO2wgwWQQUUO9kJafn7bVLO8iMfxsEtZSBc0p35qeFtRgkJaYKq8Zvowv 9VO4z89oF5TrOWiA4SBgHJIhp3/arSVyJyjUWZLk4w6zkmeHUH0NyT3YRasKseCW +FXH55NUu0DLlYea6k13+0y8a19CDgZDeid+lponB/3YlyY3mz58Bn13UxwrvfwT C4CDw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvfeeikeegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhirghn ucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqe enucggtffrrghtthgvrhhnpeffleegieefgfevudehtdfhkeeutdffjeevgeffgeejvedt hefgudeiteefheejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggp rhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegvrhhtrghnrd hkuhgtuhhkohhglhhusehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqghgv nhgvrhgrlheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 23 Nov 2025 16:47:27 -0500 (EST) Message-ID: <1985f49f-6c62-4188-9827-4d0595339d92@aklaver.com> Date: Sun, 23 Nov 2025 13:47:27 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Restore Windows dump to Linux (locale issue) To: =?UTF-8?B?RXJ0YW4gS8O8w6fDvGtvZ2x1?= , pgsql-general@lists.postgresql.org References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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