Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PG 14 compile error #1

Open
digoal opened this issue Sep 25, 2023 · 0 comments
Open

PG 14 compile error #1

digoal opened this issue Sep 25, 2023 · 0 comments

Comments

@digoal
Copy link

digoal commented Sep 25, 2023

#11 741.6 + make
#11 741.6 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/pgqp_explain.o src/pgqp_explain.c
#11 741.9 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/buffer.o src/buffer.c
#11 742.0 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/hash.o src/hash.c
#11 742.0 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/bgworker.o src/bgworker.c
#11 742.1 /usr/bin/bison -Wno-deprecated  -d -o src/planid_parser.c src/planid_parser.y
#11 742.1 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/planid_parser.o src/planid_parser.c
#11 742.1 /usr/bin/flex  -CF -p -o'src/planid_scanner.c' src/planid_scanner.l
#11 742.2 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/planid_scanner.o src/planid_scanner.c
#11 742.3 /usr/bin/bison -Wno-deprecated  -d -o src/param_parser.c src/param_parser.y
#11 742.3 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/param_parser.o src/param_parser.c
#11 742.4 /usr/bin/flex  -CF -p -o'src/param_scanner.c' src/param_scanner.l
#11 742.4 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/param_scanner.o src/param_scanner.c
#11 742.5 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/qpam.o src/qpam.c
#11 742.6 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/adjust_rows.o src/adjust_rows.c
#11 742.7 src/adjust_rows.c: In function ‘pgqp_set_rel_pathlist’:
#11 742.7 src/adjust_rows.c:901:17: warning: ‘intercept’ may be used uninitialized in this function [-Wmaybe-uninitialized]
#11 742.7   901 |       path.rows += intercept;
#11 742.7       |                 ^~
#11 742.7 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/pg_query_plan.o src/pg_query_plan.c
#11 742.9 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/optimizer/pgqp_costsize.o src/optimizer/pgqp_costsize.c
#11 742.9 src/optimizer/pgqp_costsize.c:6824:1: warning: ‘get_expr_width’ defined but not used [-Wunused-function]
#11 742.9  6824 | get_expr_width(PlannerInfo *root, const Node *expr)
#11 742.9       | ^~~~~~~~~~~~~~
#11 742.9 src/optimizer/pgqp_costsize.c:4985:1: warning: ‘cost_qual_eval_walker’ defined but not used [-Wunused-function]
#11 742.9  4985 | cost_qual_eval_walker(Node *node, cost_qual_eval_context *context)
#11 742.9       | ^~~~~~~~~~~~~~~~~~~~~
#11 743.1 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/optimizer/pgqp_indexpath.o src/optimizer/pgqp_indexpath.c
#11 743.4 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/optimizer/pgqp_inherit.o src/optimizer/pgqp_inherit.c
#11 743.5 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/optimizer/pgqp_initsplan.o src/optimizer/pgqp_initsplan.c
#11 743.6 src/optimizer/pgqp_initsplan.c:112:14: warning: ‘deconstruct_recurse’ declared ‘static’ but never defined [-Wunused-function]
#11 743.6   112 | static List *deconstruct_recurse(PlannerInfo *root, Node *jtnode,
#11 743.6       |              ^~~~~~~~~~~~~~~~~~~
#11 743.6 src/optimizer/pgqp_initsplan.c:179:13: warning: ‘check_outerjoin_delay’ used but never defined
#11 743.6   179 | static bool check_outerjoin_delay(PlannerInfo *root, Relids *relids_p,
#11 743.6       |             ^~~~~~~~~~~~~~~~~~~~~
#11 743.6 src/optimizer/pgqp_initsplan.c:181:13: warning: ‘check_equivalence_delay’ used but never defined
#11 743.6   181 | static bool check_equivalence_delay(PlannerInfo *root,
#11 743.6       |             ^~~~~~~~~~~~~~~~~~~~~~~
#11 743.6 src/optimizer/pgqp_initsplan.c:1936:1: warning: ‘make_outerjoininfo’ defined but not used [-Wunused-function]
#11 743.6  1936 | make_outerjoininfo(PlannerInfo *root,
#11 743.6       | ^~~~~~~~~~~~~~~~~~
#11 743.6 src/optimizer/pgqp_initsplan.c:1816:1: warning: ‘process_security_barrier_quals’ defined but not used [-Wunused-function]
#11 743.6  1816 | process_security_barrier_quals(PlannerInfo *root,
#11 743.6       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#11 743.6 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/optimizer/pgqp_joinpath.o src/optimizer/pgqp_joinpath.c
#11 743.8 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/optimizer/pgqp_pathnode.o src/optimizer/pgqp_pathnode.c
#11 743.9 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/optimizer/pgqp_planagg.o src/optimizer/pgqp_planagg.c
#11 744.0 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/optimizer/pgqp_planmain.o src/optimizer/pgqp_planmain.c
#11 744.1 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/optimizer/pgqp_preunion.o src/optimizer/pgqp_preunion.c
#11 744.2 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/optimizer/pgqp_relnode.o src/optimizer/pgqp_relnode.c
#11 744.3 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/optimizer/pgqp_setrefs.o src/optimizer/pgqp_setrefs.c
#11 744.6 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -moutline-atomics -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I. -I./ -I/usr/include/postgresql/14/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/optimizer/pgqp_allpaths.o src/optimizer/pgqp_allpaths.c
#11 744.6 In file included from /usr/include/postgresql/14/server/catalog/pg_operator.h:23,
#11 744.6                  from src/optimizer/pgqp_allpaths.c:21:
#11 744.6 src/optimizer/pgqp_allpaths.c: In function ‘set_function_pathlist’:
#11 744.6 /usr/include/postgresql/14/server/catalog/pg_operator_d.h:54:26: warning: passing argument 3 of ‘build_expression_pathkey’ makes pointer from integer without a cast [-Wint-conversion]
#11 744.6    54 | #define Int8LessOperator 412
#11 744.6       |                          ^~~
#11 744.6       |                          |
#11 744.6       |                          int
#11 744.6 src/optimizer/pgqp_allpaths.c:3232:13: note: in expansion of macro ‘Int8LessOperator’
#11 744.6  3232 |             Int8LessOperator,
#11 744.6       |             ^~~~~~~~~~~~~~~~
#11 744.6 In file included from src/optimizer/pgqp_allpaths.c:40:
#11 744.6 /usr/include/postgresql/14/server/optimizer/paths.h:220:19: note: expected ‘Relids’ {aka ‘Bitmapset *’} but argument is of type ‘int’
#11 744.6   220 |            Relids nullable_relids, Oid opno,
#11 744.6       |            ~~~~~~~^~~~~~~~~~~~~~~
#11 744.6 src/optimizer/pgqp_allpaths.c:3233:13: warning: passing argument 4 of ‘build_expression_pathkey’ makes integer from pointer without a cast [-Wint-conversion]
#11 744.6  3233 |             NULL, /* below outer joins */
#11 744.6       |             ^~~~
#11 744.6       |             |
#11 744.6       |             void *
#11 744.6 In file included from src/optimizer/pgqp_allpaths.c:40:
#11 744.6 /usr/include/postgresql/14/server/optimizer/paths.h:220:40: note: expected ‘Oid’ {aka ‘unsigned int’} but argument is of type ‘void *’
#11 744.6   220 |            Relids nullable_relids, Oid opno,
#11 744.6       |                                    ~~~~^~~~
#11 744.6 In file included from /usr/include/postgresql/14/server/catalog/pg_operator.h:23,
#11 744.6                  from src/optimizer/pgqp_allpaths.c:21:
#11 744.6 /usr/include/postgresql/14/server/catalog/pg_operator_d.h:54:26: warning: passing argument 5 of ‘build_expression_pathkey’ makes pointer from integer without a cast [-Wint-conversion]
#11 744.6    54 | #define Int8LessOperator 412
#11 744.6       |                          ^~~
#11 744.6       |                          |
#11 744.6       |                          int
#11 744.6 src/optimizer/pgqp_allpaths.c:3234:13: note: in expansion of macro ‘Int8LessOperator’
#11 744.6  3234 |             Int8LessOperator,
#11 744.6       |             ^~~~~~~~~~~~~~~~
#11 744.6 In file included from src/optimizer/pgqp_allpaths.c:40:
#11 744.6 /usr/include/postgresql/14/server/optimizer/paths.h:221:19: note: expected ‘Relids’ {aka ‘Bitmapset *’} but argument is of type ‘int’
#11 744.6   221 |            Relids rel, bool create_it);
#11 744.6       |            ~~~~~~~^~~
#11 744.6 src/optimizer/pgqp_allpaths.c:3230:15: error: too many arguments to function ‘build_expression_pathkey’
#11 744.6  3230 |    pathkeys = build_expression_pathkey(root,
#11 744.6       |               ^~~~~~~~~~~~~~~~~~~~~~~~
#11 744.6 In file included from src/optimizer/pgqp_allpaths.c:40:
#11 744.6 /usr/include/postgresql/14/server/optimizer/paths.h:219:14: note: declared here
#11 744.6   219 | extern List *build_expression_pathkey(PlannerInfo *root, Expr *expr,
#11 744.6       |              ^~~~~~~~~~~~~~~~~~~~~~~~
#11 744.6 src/optimizer/pgqp_allpaths.c: In function ‘qual_is_pushdown_safe’:
#11 744.6 src/optimizer/pgqp_allpaths.c:4572:4: warning: statement with no effect [-Wunused-value]
#11 744.6  4572 |    safe  false;
#11 744.6       |    ^~~~
#11 744.6 src/optimizer/pgqp_allpaths.c:4572:8: error: expected ‘;’ before numeric constant
#11 744.6  4572 |    safe  false;
#11 744.6       |        ^
#11 744.6       |        ;
#11 744.6 src/optimizer/pgqp_allpaths.c:4588:4: warning: statement with no effect [-Wunused-value]
#11 744.6  4588 |    safe  false;
#11 744.6       |    ^~~~
#11 744.6 src/optimizer/pgqp_allpaths.c:4588:8: error: expected ‘;’ before numeric constant
#11 744.6  4588 |    safe  false;
#11 744.6       |        ^
#11 744.6       |        ;
#11 744.6 src/optimizer/pgqp_allpaths.c:4602:4: warning: statement with no effect [-Wunused-value]
#11 744.6  4602 |    safe  false;
#11 744.6       |    ^~~~
#11 744.6 src/optimizer/pgqp_allpaths.c:4602:8: error: expected ‘;’ before numeric constant
#11 744.6  4602 |    safe  false;
#11 744.6       |        ^
#11 744.6       |        ;
#11 744.6 src/optimizer/pgqp_allpaths.c:4628:4: warning: statement with no effect [-Wunused-value]
#11 744.6  4628 |    safe  false;
#11 744.6       |    ^~~~
#11 744.6 src/optimizer/pgqp_allpaths.c:4628:8: error: expected ‘;’ before numeric constant
#11 744.6  4628 |    safe  false;
#11 744.6       |        ^
#11 744.6       |        ;
#11 744.6 make: *** [<builtin>: src/optimizer/pgqp_allpaths.o] Error 1
#11 ERROR: process "/bin/sh -c $TEMP_DIR/3.sh" did not complete successfully: exit code: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant