agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_upgrade: Check for unsupported encodings.
Date: Wed, 08 Apr 2026 05:50:11 +0000
Message-ID: <E1wALnm-003VN7-12@gemulon.postgresql.org> (raw)

pg_upgrade: Check for unsupported encodings.

Since we have dropped MULE_INTERNAL, add a check that all encodings used
in the source cluster are still supported according to
PG_ENCODING_BE_VALID().  This is done generically, in case we decide to
drop another encoding some day.

Suggested-by: Jeff Davis <pgsql@j-davis.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CA%2BhUKGKXDXh-FdU0orjfv%2BF08f%3DD91BhV3Ra-4zL-q%2BJmGYqTA%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ce11e63f812f987a9d6256b81cd4af91921a5a39

Modified Files
--------------
src/bin/pg_upgrade/check.c | 65 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)



Message-ID: <E1wALnm-003VN7-12@gemulon.postgresql.org>
Permalink:  ../E1wALnm-003VN7-12@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wALnm-003VN7-12@gemulon.postgresql.org

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: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: pg_upgrade: Check for unsupported encodings.
  In-Reply-To: <E1wALnm-003VN7-12@gemulon.postgresql.org>

* 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