| From: | Thomas Munro <tmunro(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: pg_upgrade: Check for unsupported encodings. |
| Date: | 2026-04-08 05:50:11 |
| Message-ID: | E1wALnm-003VN7-12@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)j-davis(dot)com>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | John Naylor | 2026-04-08 06:52:47 | pgsql: Exit early from pg_comp_crc32c_pmull for small inputs |
| Previous Message | Andres Freund | 2026-04-08 04:09:54 | pgsql: instrumentation: Allocate query level instrumentation in Executo |