hi,
after downloading the file and configuring it, when I used "make -s -j 4" an error occurred:
pg_publication.c: In function ‘publication_add_relation’: pg_publication.c:200:11: warning: passing argument 3 of ‘addRangeTableEntryForRelation’ makes integer from pointer without a cast [-Wint-conversion] NULL, false, false); ^~~~ In file included from pg_publication.c:39:0: ../../../src/include/parser/parse_relation.h:70:23: note: expected ‘int’ but argument is of type ‘void *’ extern RangeTblEntry *addRangeTableEntryForRelation(ParseState *pstate, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pg_publication.c:199:8: error: too few arguments to function ‘addRangeTableEntryForRelation’ rte = addRangeTableEntryForRelation(pstate, targetrel->relation, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from pg_publication.c:39:0: ../../../src/include/parser/parse_relation.h:70:23: note: declared here extern RangeTblEntry *addRangeTableEntryForRelation(ParseState *pstate, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <builtin>: recipe for target 'pg_publication.o' failed make[3]: *** [pg_publication.o] Error 1 make[3]: *** Waiting for unfinished jobs.... common.mk:39: recipe for target 'catalog-recursive' failed make[2]: *** [catalog-recursive] Error 2 make[2]: *** Waiting for unfinished jobs.... Makefile:42: recipe for target 'install-backend-recurse' failed make[1]: *** [install-backend-recurse] Error 2 GNUmakefile:11: recipe for target 'install-src-recurse' failed make: *** [install-src-recurse] Error 2
hi,
after downloading the file and configuring it, when I used "make -s -j 4" an error occurred:
pg_publication.c: In function ‘publication_add_relation’: pg_publication.c:200:11: warning: passing argument 3 of ‘addRangeTableEntryForRelation’ makes integer from pointer without a cast [-Wint-conversion] NULL, false, false); ^~~~ In file included from pg_publication.c:39:0: ../../../src/include/parser/parse_relation.h:70:23: note: expected ‘int’ but argument is of type ‘void *’ extern RangeTblEntry *addRangeTableEntryForRelation(ParseState *pstate, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pg_publication.c:199:8: error: too few arguments to function ‘addRangeTableEntryForRelation’ rte = addRangeTableEntryForRelation(pstate, targetrel->relation, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from pg_publication.c:39:0: ../../../src/include/parser/parse_relation.h:70:23: note: declared here extern RangeTblEntry *addRangeTableEntryForRelation(ParseState *pstate, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <builtin>: recipe for target 'pg_publication.o' failed make[3]: *** [pg_publication.o] Error 1 make[3]: *** Waiting for unfinished jobs.... common.mk:39: recipe for target 'catalog-recursive' failed make[2]: *** [catalog-recursive] Error 2 make[2]: *** Waiting for unfinished jobs.... Makefile:42: recipe for target 'install-backend-recurse' failed make[1]: *** [install-backend-recurse] Error 2 GNUmakefile:11: recipe for target 'install-src-recurse' failed make: *** [install-src-recurse] Error 2