Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6e53bb4

Browse files
committed
Fix non-C89-compliant initialization of array in parallel.c.
In newer branches this was already fixed in59202fa. Found usingclang's -Wc99-extensions.
1 parentf1d26d3 commit6e53bb4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/bin/pg_dump/parallel.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,10 @@ ParallelBackupStart(ArchiveHandle *AH, RestoreOptions *ropt)
558558
{
559559
/* we are the worker */
560560
intj;
561-
intpipefd[2]= {pipeMW[PIPE_READ],pipeWM[PIPE_WRITE]};
561+
intpipefd[2];
562+
563+
pipefd[0]=pipeMW[PIPE_READ];
564+
pipefd[1]=pipeWM[PIPE_WRITE];
562565

563566
/*
564567
* Store the fds for the reverse communication in pstate. Actually

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp