mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 10:30:33 +03:00 
			
		
		
		
	pg_upgrade: Add missing newline in output, another one
This came from the backport of commitf295494d33, but older branches require the explicit newline in messages (see commit7652353d87).
This commit is contained in:
		| @@ -1282,7 +1282,7 @@ check_for_not_null_inheritance(ClusterInfo *cluster) | |||||||
| 		for (int i = 0; i < ntup; i++) | 		for (int i = 0; i < ntup; i++) | ||||||
| 		{ | 		{ | ||||||
| 			if (script == NULL && (script = fopen_priv(output_path, "w")) == NULL) | 			if (script == NULL && (script = fopen_priv(output_path, "w")) == NULL) | ||||||
| 				pg_fatal("could not open file \"%s\": %s", output_path, strerror(errno)); | 				pg_fatal("could not open file \"%s\": %s\n", output_path, strerror(errno)); | ||||||
| 			if (!db_used) | 			if (!db_used) | ||||||
| 			{ | 			{ | ||||||
| 				fprintf(script, "In database: %s\n", active_db->db_name); | 				fprintf(script, "In database: %s\n", active_db->db_name); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user