mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Quote pathnames so pg_standby works with paths that have
spaces in them. ISHIDA Akio
This commit is contained in:
		@@ -69,7 +69,7 @@ int restoreCommandType;
 | 
				
			|||||||
int nextWALFileType;
 | 
					int nextWALFileType;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define SET_RESTORE_COMMAND(cmd, arg1, arg2) \
 | 
					#define SET_RESTORE_COMMAND(cmd, arg1, arg2) \
 | 
				
			||||||
	snprintf(restoreCommand, MAXPGPATH, cmd " %s %s", arg1, arg2)
 | 
						snprintf(restoreCommand, MAXPGPATH, cmd " \"%s\" \"%s\"", arg1, arg2)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct stat stat_buf;
 | 
					struct stat stat_buf;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user