Re: Upgrading from postgresql 11 to postgresql 17 using pg_upgrade

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Upgrading from postgresql 11 to postgresql 17 using pg_upgrade
Date: 2025-09-18 14:15:24
Message-ID: CANzqJaCq5_5ywjcfhH9CPdqwDq0Bid+5ajz6bzyL9GX2Upykpw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Sep 18, 2025 at 8:12 AM Muhammet Kurtoğlu <
muhammet(dot)kurtoglu(at)bisoft(dot)com(dot)tr> 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!

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ron Watkins 2025-09-18 20:46:15 pgping?
Previous Message Muhammet Kurtoğlu 2025-09-18 12:11:37 Upgrading from postgresql 11 to postgresql 17 using pg_upgrade