Re: pg_upgrade 13.6 to 15.1?

From: Alan Hodgson <ahodgson(at)lists(dot)simkin(dot)ca>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: pg_upgrade 13.6 to 15.1?
Date: 2023-01-15 22:15:40
Message-ID: 69a8f73e58126f8f70f9c51a8289ff99f466ef89.camel@lists.simkin.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 2023-01-15 at 16:59 -0500, pf(at)pfortin(dot)com wrote:
>
>
> encodings for database "template1" do not match:  old "UTF8", new
> "SQL_ASCII" Failure, exiting

You almost certainly don't want your new database to use SQL_ASCII.
Init the new cluster with -E UTF8.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gavan Schneider 2023-01-15 22:16:27 Re: pg_upgrade 13.6 to 15.1?
Previous Message Magnus Hagander 2023-01-15 22:07:17 Re: Are ZFS snapshots unsafe when PGSQL is spreading through multiple zpools?