mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	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 <daniel@yesql.se>
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
@@ -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;
 | 
			
		||||
					}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user