Re: pg_upgrade 13.6 to 15.1?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pf(at)pfortin(dot)com
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: pg_upgrade 13.6 to 15.1?
Date: 2023-01-15 22:37:21
Message-ID: 1743971.1673822241@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

pf(at)pfortin(dot)com writes:
> encodings for database "template1" do not match: old "UTF8", new
> "SQL_ASCII" Failure, exiting

So you need to do the initdb under the same locale setting you
used for the old DB. Looking into its LC_XXX settings should
refresh your memory on what that was.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message pf 2023-01-15 22:56:41 Re: pg_upgrade 13.6 to 15.1? [Solved: what can go wrong, will...]
Previous Message Ron 2023-01-15 22:26:03 Re: Are ZFS snapshots unsafe when PGSQL is spreading through multiple zpools?