]> granicus.if.org Git - postgresql/commitdiff
Use American English in error message
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 5 Apr 2017 18:06:15 +0000 (14:06 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 5 Apr 2017 18:06:15 +0000 (14:06 -0400)
All error messages use the American English spelling of recognize,
apply to the single one not doing so to be consistent.

Author: Daniel Gustafsson <daniel@yesql.se>

src/backend/replication/pgoutput/pgoutput.c
src/bin/pg_waldump/pg_waldump.c

index 0ceb4be375e1cab604dda746944b765d88f0c643..19ef527ca7f119af395af2baa60617e7f50118d6 100644 (file)
@@ -96,7 +96,7 @@ parse_output_parameters(List *options, uint32 *protocol_version,
 
                Assert(defel->arg == NULL || IsA(defel->arg, String));
 
-               /* Check each param, whether or not we recognise it */
+               /* Check each param, whether or not we recognize it */
                if (strcmp(defel->defname, "proto_version") == 0)
                {
                        int64           parsed;
@@ -167,7 +167,7 @@ pgoutput_startup(LogicalDecodingContext * ctx, OutputPluginOptions *opt,
         */
        if (!is_init)
        {
-               /* Parse the params and ERROR if we see any we don't recognise */
+               /* Parse the params and ERROR if we see any we don't recognize */
                parse_output_parameters(ctx->output_plugin_options,
                                                                &data->protocol_version,
                                                                &data->publication_names);
index bfe44b8a6927871a0f5ea49bd494152303a30bc5..6c084ddc05fb1e723dea89a775622f0f087fec84 100644 (file)
@@ -866,7 +866,7 @@ main(int argc, char **argv)
                                                config.stats_per_record = true;
                                        else if (strcmp(optarg, "rmgr") != 0)
                                        {
-                                               fprintf(stderr, _("%s: unrecognised argument to --stats: %s\n"),
+                                               fprintf(stderr, _("%s: unrecognized argument to --stats: %s\n"),
                                                                progname, optarg);
                                                goto bad_argument;
                                        }