pgsql: pg_upgrade: Check for unsupported encodings.
pgsql: pg_upgrade: Check for unsupported encodings.
От:
Thomas Munro <tmunro@postgresql.org>
Дата:
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 Reviewed-by: Tom Lane 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(+)