mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 00:03:57 -04:00 
			
		
		
		
	Make pg_upgrade compile again
This commit is contained in:
		
							parent
							
								
									eff027c432
								
							
						
					
					
						commit
						8b2557553c
					
				| @ -147,8 +147,7 @@ get_db_and_rel_infos(ClusterInfo *cluster) | ||||
| { | ||||
| 	int			dbnum; | ||||
| 
 | ||||
| 	if (cluster->dbarr) | ||||
| 		free_db_and_rel_infos(cluster->dbarr); | ||||
| 	free_db_and_rel_infos(&cluster->dbarr); | ||||
| 
 | ||||
| 	get_db_infos(cluster); | ||||
| 
 | ||||
|  | ||||
| @ -64,6 +64,8 @@ main(int argc, char **argv) | ||||
| 	bool		live_check = false; | ||||
| 
 | ||||
| 	parseCommandLine(argc, argv); | ||||
| 	old_cluster.dbarr.ndbs = 0; | ||||
| 	new_cluster.dbarr.ndbs = 0; | ||||
| 
 | ||||
| 	output_check_banner(&live_check); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user