summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2017-04-05 18:06:15 +0000
committerPeter Eisentraut2017-04-05 18:06:15 +0000
commit6785fbd60ffd82ef825baf6db34bd944f3c7b121 (patch)
treeb5951481fbcf20d0fea73eb457abeddb2ecaa7d9
parent63e5d02af33414ab31d0d59e02333083ac696d37 (diff)
Use American English in error message
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]>
-rw-r--r--src/backend/replication/pgoutput/pgoutput.c4
-rw-r--r--src/bin/pg_waldump/pg_waldump.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/replication/pgoutput/pgoutput.c b/src/backend/replication/pgoutput/pgoutput.c
index 0ceb4be375..19ef527ca7 100644
--- a/src/backend/replication/pgoutput/pgoutput.c
+++ b/src/backend/replication/pgoutput/pgoutput.c
@@ -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);
diff --git a/src/bin/pg_waldump/pg_waldump.c b/src/bin/pg_waldump/pg_waldump.c
index bfe44b8a69..6c084ddc05 100644
--- a/src/bin/pg_waldump/pg_waldump.c
+++ b/src/bin/pg_waldump/pg_waldump.c
@@ -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;
}