pg_upgrade: Improve one log message
authorPeter Eisentraut <[email protected]>
Thu, 24 Aug 2023 06:23:43 +0000 (08:23 +0200)
committerPeter Eisentraut <[email protected]>
Thu, 24 Aug 2023 06:23:43 +0000 (08:23 +0200)
The parenthesized plural is unnecessary here and inconsistent with
nearby similar messages.

src/bin/pg_upgrade/check.c

index 64024e3b9ec00eda5093399e5fdf92a2d30f89fa..5de13bdfe07b5e5afd7315643fb91b0d7dc6bf48 100644 (file)
@@ -1133,7 +1133,7 @@ check_for_composite_data_type_usage(ClusterInfo *cluster)
    if (found)
    {
        pg_log(PG_REPORT, "fatal");
-       pg_fatal("Your installation contains system-defined composite type(s) in user tables.\n"
+       pg_fatal("Your installation contains system-defined composite types in user tables.\n"
                 "These type OIDs are not stable across PostgreSQL versions,\n"
                 "so this cluster cannot currently be upgraded.  You can\n"
                 "drop the problem columns and restart the upgrade.\n"