mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Fix non-C89-compliant initialization of array in parallel.c.
In newer branches this was already fixed in 59202fae04. Found using
clang's -Wc99-extensions.
			
			
This commit is contained in:
		@@ -558,7 +558,10 @@ ParallelBackupStart(ArchiveHandle *AH, RestoreOptions *ropt)
 | 
			
		||||
		{
 | 
			
		||||
			/* we are the worker */
 | 
			
		||||
			int			j;
 | 
			
		||||
			int			pipefd[2] = {pipeMW[PIPE_READ], pipeWM[PIPE_WRITE]};
 | 
			
		||||
			int			pipefd[2];
 | 
			
		||||
 | 
			
		||||
			pipefd[0] = pipeMW[PIPE_READ];
 | 
			
		||||
			pipefd[1] = pipeWM[PIPE_WRITE];
 | 
			
		||||
 | 
			
		||||
			/*
 | 
			
		||||
			 * Store the fds for the reverse communication in pstate. Actually
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user