Closed devrimgunduz-edb closed 3 years ago
If v13 is out of Beta i will change.
devrimgunduz-edb notifications@github.com hat am 17. September 2020 um 16:32 geschrieben:
Hi, 3.0.3 is failing to build against PostgreSQL 13. Can you please take a look? v13 is out next week. Thanks! + /usr/bin/make USE_PGXS=1 -j3 db2_utils.c: In function 'db2Describe': db2_utils.c:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if (precision == 0) ^ db2_utils.c:1091:5: note: here case SQLT_FLT: ^~~~ db2_fdw.c: In function 'deparseExpr': db2_fdw.c:3359:60: error: macro "for_each_cell" requires 3 arguments, but only 2 given for_each_cell (cell, lnext (list_head (boolexpr->args))) { ^ db2_fdw.c:3359:5: error: 'for_each_cell' undeclared (first use in this function); did you mean 'json_each_text'? for_each_cell (cell, lnext (list_head (boolexpr->args))) { ^~~~~~~~~~~~~ json_each_text db2_fdw.c:3359:5: note: each undeclared identifier is reported only once for each function it appears in db2_fdw.c:3359:18: error: expected ';' before '{' token for_each_cell (cell, lnext (list_head (boolexpr->args))) { ^ ~ ; db2_fdw.c: In function 'deserializePlanData': db2_fdw.c:4384:17: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4384:10: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4388:17: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4388:10: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4392:17: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4392:10: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4396:17: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4396:10: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4400:17: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4400:10: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4404:17: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4404:10: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4409:17: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4409:10: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4411:17: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4411:10: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4413:17: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4413:10: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4415:17: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4415:10: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4422:19: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4422:12: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4424:19: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4424:12: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4426:19: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4426:12: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4428:19: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4428:12: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4430:19: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4430:12: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4432:19: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4432:12: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4434:19: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4434:12: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4436:19: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4436:12: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4438:19: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4438:12: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4440:19: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4440:12: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4450:17: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4450:10: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4457:19: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4457:12: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4459:19: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4459:12: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4461:19: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4461:12: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ db2_fdw.c:4469:19: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List *' {aka 'const struct List *'} but argument is of type 'ListCell *' {aka 'union ListCell *'} lnext(const List *l, const ListCell *c) ~~~~~~~~~~~~^ db2_fdw.c:4469:12: error: too few arguments to function 'lnext' cell = lnext (cell); ^~~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:1: note: declared here lnext(const List *l, const ListCell *c) ^~~~~ make[1]: *** [<builtin>: db2_fdw.o] Error 1 make[1]: *** Waiting for unfinished jobs.... db2_fdw.c:3359:60: error: too few arguments provided to function-like macro invocation for_each_cell (cell, lnext (list_head (boolexpr->args))) { ^ /usr/pgsql-13/include/server/nodes/pg_list.h:390:9: note: macro 'for_each_cell' defined here #define for_each_cell(cell, lst, initcell) \ ^ db2_fdw.c:3359:5: error: use of undeclared identifier 'for_each_cell' for_each_cell (cell, lnext (list_head (boolexpr->args))) { ^ db2_fdw.c:4384:21: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4388:21: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4392:21: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4396:21: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4400:21: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4404:21: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4409:21: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4411:21: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4413:21: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4415:21: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4422:23: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4424:23: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4426:23: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4428:23: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4430:23: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4432:23: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ db2_fdw.c:4434:23: error: too few arguments to function call, expected 2, have 1 cell = lnext (cell); ~~~~~ ^ /usr/pgsql-13/include/server/nodes/pg_list.h:320:1: note: 'lnext' declared here static inline ListCell * ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [/usr/pgsql-13/lib/pgxs/src/makefiles/../../src/Makefile.global:1051: db2_fdw.bc] Error 1 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wolfgangbrandl/db2_fdw/issues/30 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMUXOYF6A33LCLILJK6TV3SGIMZRANCNFSM4RQRARXQ .
mfg.
Ing. Wolfgang Brandl
Mobil: +43 660 7132911
Hi,
Any updates? v13 is out tomorrow.
Regards, Devrim
Just preparing my server at home. Today tomorrow i will deliver 4.0.0
Devrim Gündüz notifications@github.com hat am 23. September 2020 um 10:34 geschrieben:
Hi, Any updates? v13 is out tomorrow. Regards, Devrim — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wolfgangbrandl/db2_fdw/issues/30#issuecomment-697218621 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMUXO3HGVQ66EPIEXWAOTTSHGXHTANCNFSM4RQRARXQ .
mfg.
Ing. Wolfgang Brandl
Mobil: +43 660 7132911
Thanks!
Release 4.0.0 is out on PGXN
Thanks a lot! Built packages, releasing today.
Regards, Devrim
Hi,
3.0.3 is failing to build against PostgreSQL 13. Can you please take a look? v13 is out next week.
Thanks!+ /usr/bin/make USE_PGXS=1 -j3 db2_utils.c: In function 'db2Describe': db2_utils.c:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if (precision == 0) ^ db2_utils.c:1091:5: note: here case SQLT_FLT: ^~~~ db2_fdw.c: In function 'deparseExpr': db2_fdw.c:3359:60: error: macro "for_each_cell" requires 3 arguments, but only 2 given for_each_cell (cell, lnext (list_head (boolexpr->args))) { ^ db2_fdw.c:3359:5: error: 'for_each_cell' undeclared (first use in this function); did you mean 'json_each_text'? for_each_cell (cell, lnext (list_head (boolexpr->args))) { ^
~~~~ json_each_text db2_fdw.c:3359:5: note: each undeclared identifier is reported only once for each function it appears in db2_fdw.c:3359:18: error: expected ';' before '{' token for_each_cell (cell, lnext (list_head (boolexpr->args))) { ^ ~ ; db2_fdw.c: In function 'deserializePlanData': db2_fdw.c:4384:17: warning: passing argument 1 of 'lnext' from incompatible pointer type [-Wincompatible-pointer-types] cell = lnext (cell); ^~~~ In file included from /usr/pgsql-13/include/server/access/tupdesc.h:19, from /usr/pgsql-13/include/server/access/htup_details.h:19, from db2_fdw.c:11: /usr/pgsql-13/include/server/nodes/pg_list.h:321:19: note: expected 'const List ' {aka 'const struct List '} but argument is of type 'ListCell ' {aka 'union ListCell '} lnext(const List l, const ListCell c)