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

src/bin/pg_upgrade/check.c

index 65ced1289e0cc6e2e49f5d87488f02d9511c61c8..56e313f562affee0a3a76a753a01d72d8803e4cb 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"