mirror of
https://github.com/postgres/postgres.git
synced 2025-07-24 14:22:24 +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 */
|
/* we are the worker */
|
||||||
int j;
|
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
|
* Store the fds for the reverse communication in pstate. Actually
|
||||||
|
Reference in New Issue
Block a user