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

pg_pathman-1.5.12 error on make (PostgreSQL 15.2 on Debian 11) #262

Open
@MakPol

Description

@MakPol

Problem description

Is it possible to build pg_pathman on PostgreSQL 15.2 without creating a custom build PostgreSQL?
"PostgreSQL with core-patch: 14, 15" inhttps://github.com/postgrespro/pg_pathman/blob/master/README.md - self-assembled PostgreSQL with a patch?

If I usehttp://apt.postgresql.org/pub/repos/apt/pool/main/p/postgresql-15 / - is it really possible to get pg_pathman to work?

When i run make install USE_PGXS=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 -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -I/root/pg_pathman-1.5.12/src/include -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/init.o src/init.csrc/init.c: In function ‘read_opexpr_const’:src/init.c:931:11: warning: this statement may fall through [-Wimplicit-fallthrough=]  931 |     right = (Node *) constant;      |     ~~~~~~^~~~~~~~~~~~~~~~~~~src/init.c:935:3: note: here  935 |   case T_Const:      |   ^~~~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 -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -I/root/pg_pathman-1.5.12/src/include -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/relation_info.o src/relation_info.csrc/relation_info.c: In function ‘parse_partitioning_expression’:src/relation_info.c:1447:20: error: too few arguments to function ‘raw_parser’ 1447 |   parsetree_list = raw_parser(query_string);      |                    ^~~~~~~~~~In file included from src/relation_info.c:38:/usr/include/postgresql/15/server/parser/parser.h:62:14: note: declared here   62 | extern List *raw_parser(const char *str, RawParseMode mode);      |              ^~~~~~~~~~In file included from src/relation_info.c:11:src/relation_info.c: In function ‘cook_partitioning_expression’:/root/pg_pathman-1.5.12/src/include/compat/pg_compat.h:638:3: warning: implicit declaration of function ‘pg_analyze_and_rewrite’; did you mean ‘pg_analyze_and_rewrite_withcb’? [-Wimplicit-function-declaration]  638 |   pg_analyze_and_rewrite((RawStmt *) (parsetree), (query_string), \      |   ^~~~~~~~~~~~~~~~~~~~~~src/relation_info.c:1530:21: note: in expansion of macro ‘pg_analyze_and_rewrite_compat’ 1530 |   query_tree_list = pg_analyze_and_rewrite_compat(parse_tree, query_string,      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~src/relation_info.c:1530:19: warning: assignment to ‘List *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1530 |   query_tree_list = pg_analyze_and_rewrite_compat(parse_tree, query_string,      |                   ^src/relation_info.c:1558:29: warning: passing argument 1 of ‘pull_varnos’ from incompatible pointer type [-Wincompatible-pointer-types] 1558 |   expr_varnos = pull_varnos(expr);      |                             ^~~~      |                             |      |                             Node *In file included from src/relation_info.c:32:/usr/include/postgresql/15/server/optimizer/optimizer.h:192:44: note: expected ‘PlannerInfo *’ but argument is of type ‘Node *’  192 | extern Bitmapset *pull_varnos(PlannerInfo *root, Node *node);      |                               ~~~~~~~~~~~~~^~~~src/relation_info.c:1558:17: error: too few arguments to function ‘pull_varnos’ 1558 |   expr_varnos = pull_varnos(expr);      |                 ^~~~~~~~~~~In file included from src/relation_info.c:32:/usr/include/postgresql/15/server/optimizer/optimizer.h:192:19: note: declared here  192 | extern Bitmapset *pull_varnos(PlannerInfo *root, Node *node);      |                   ^~~~~~~~~~~In file included from src/relation_info.c:11:src/relation_info.c: In function ‘canonicalize_partitioning_expression’:/root/pg_pathman-1.5.12/src/include/compat/pg_compat.h:620:3: warning: implicit declaration of function ‘parse_analyze’; did you mean ‘parse_sub_analyze’? [-Wimplicit-function-declaration]  620 |   parse_analyze((RawStmt *) (parse_tree), (query_string), (param_types), \      |   ^~~~~~~~~~~~~src/relation_info.c:1661:10: note: in expansion of macro ‘parse_analyze_compat’ 1661 |  query = parse_analyze_compat(parse_tree, query_string, NULL, 0, NULL);      |          ^~~~~~~~~~~~~~~~~~~~src/relation_info.c:1661:8: warning: assignment to ‘Query *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1661 |  query = parse_analyze_compat(parse_tree, query_string, NULL, 0, NULL);      |        ^make: *** [<встроенное>: src/relation_info.o] Ошибка 1

Environment

pg_pathman-1.5.12 (https://github.com/postgrespro/pg_pathman/archive/refs/tags/1.5.12.tar.gz)
PostgreSQL 15.2 (https://www.postgresql.org/download/linux/debian/)
Debian 11 (https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.6.0-amd64-netinst.iso)

Thank you so much for understanding!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp