Re: patch for parallel pg_dump

Erik Rijkers <er@xs4all.nl>

From: "Erik Rijkers" <er@xs4all.nl>
To: "Joachim Wieland" <joe@mcknight.de>
Cc: pgsql-hackers@postgresql.org
Date: 2012-03-20T04:13:07Z
Lists: pgsql-hackers
>
> [pg_dump_die_horribly.2.diff ]
>
>
> In my hands, the patch complains:
>
>
> In file included from gram.y:13255:0:
> scan.c: In function ‘yy_try_NUL_trans’:
> scan.c:16243:23: warning: unused variable ‘yyg’ [-Wunused-variable]
> pg_backup_archiver.c:3320:1: error: static declaration of ‘archive_close_connection’ follows
> non-static declaration
> pg_backup.h:170:13: note: previous declaration of ‘archive_close_connection’ was here
> make[3]: *** [pg_backup_archiver.o] Error 1
> make[2]: *** [all-pg_dump-recurse] Error 2
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [all-bin-recurse] Error 2
> make: *** [all-src-recurse] Error 2
> -- make returned 2 - abort
>

I should add:  Centos 5.8, gcc 4.6.3


Erik Rijkers