Skip to content

Commit

Permalink
Use American English in error message
Browse files Browse the repository at this point in the history
All error messages use the American English spelling of recognize,
apply to the single one not doing so to be consistent.

Author: Daniel Gustafsson <[email protected]>
  • Loading branch information
petere committed Apr 5, 2017
1 parent 63e5d02 commit 6785fbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/backend/replication/pgoutput/pgoutput.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/bin/pg_waldump/pg_waldump.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6785fbd

Please sign in to comment.