public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ron Johnson <[email protected]>
To: Pgsql-admin <[email protected]>
Subject: Re: Upgrading from postgresql 11 to postgresql 17 using pg_upgrade
Date: Thu, 18 Sep 2025 10:15:24 -0400
Message-ID: <CANzqJaCq5_5ywjcfhH9CPdqwDq0Bid+5ajz6bzyL9GX2Upykpw@mail.gmail.com> (raw)
In-Reply-To: <CANM7_8XvjXKZgQMYycoNoifvk25kGUpvoF6-dE6oxXkwzp9mOA@mail.gmail.com>
References: <CANM7_8XvjXKZgQMYycoNoifvk25kGUpvoF6-dE6oxXkwzp9mOA@mail.gmail.com>

On Thu, Sep 18, 2025 at 8:12 AM Muhammet Kurtoğlu <
[email protected]> wrote:

> Hi
>  during upgrade we encounter
>
> pg_restore: error: could not execute query: ERROR: encoding "UTF8" does
> not match locale "tr_TR.iso88599" DETAIL: The chosen LC_CTYPE setting
> requires encoding "LATIN5". Command was: CREATE DATABASE "zzz" WITH
> TEMPLATE = template0 OID = 84322 ENCODING = 'UTF8' LOCALE_PROVIDER = libc
> LOCALE = 'tr_TR.iso88599' TABLESPACE = "zz";
>
> postgresql 11 database list
>
>
> [image: image.png]
>
> please help
>
>
What PG17 version?
What exact pg_upgrade command (with options, and all output) did you run?

-- 
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!


Attachments:

  [image/png] image.png (220.2K, 3-image.png)
  download | view image

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]
  Subject: Re: Upgrading from postgresql 11 to postgresql 17 using pg_upgrade
  In-Reply-To: <CANzqJaCq5_5ywjcfhH9CPdqwDq0Bid+5ajz6bzyL9GX2Upykpw@mail.gmail.com>

* 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