mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Message wording improvements
This commit is contained in:
		@@ -437,7 +437,7 @@ get_publications_str(List *publications, StringInfo dest, bool quote_literal)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Check the specified publication(s) is(are) present in the publisher.
 | 
			
		||||
 * Check that the specified publications are present on the publisher.
 | 
			
		||||
 */
 | 
			
		||||
static void
 | 
			
		||||
check_publications(WalReceiverConn *wrconn, List *publications)
 | 
			
		||||
@@ -495,8 +495,8 @@ check_publications(WalReceiverConn *wrconn, List *publications)
 | 
			
		||||
		get_publications_str(publicationsCopy, pubnames, false);
 | 
			
		||||
		ereport(WARNING,
 | 
			
		||||
				errcode(ERRCODE_UNDEFINED_OBJECT),
 | 
			
		||||
				errmsg_plural("publication %s does not exist in the publisher",
 | 
			
		||||
							  "publications %s do not exist in the publisher",
 | 
			
		||||
				errmsg_plural("publication %s does not exist on the publisher",
 | 
			
		||||
							  "publications %s do not exist on the publisher",
 | 
			
		||||
							  list_length(publicationsCopy),
 | 
			
		||||
							  pubnames->data));
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user