Skip to content

installation error: In function ‘partition_filter_begin’ #263

Description

@SvyatS

Problem description

При сборке расширения возникает такая ошибка;

PG_CONFIG=/usr/lib/postgresql/12/bin/pg_config sudo 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/home/psqlPilugins/pg_pathman/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/partition_filter.o src/partition_filter.c
src/partition_filter.c: In function ‘partition_filter_begin’:
src/partition_filter.c:870:24: error: ‘EState’ {aka ‘struct EState’} has no member named ‘es_result_relation_info’; did you mean ‘es_result_relations’?
870 | current_rri = estate->es_result_relation_info;
| ^~~~~~~~~~~~~~~~~~~~~~~
| es_result_relations
src/partition_filter.c: In function ‘partition_filter_exec’:
src/partition_filter.c:962:11: error: ‘EState’ {aka ‘struct EState’} has no member named ‘es_result_relation_info’; did you mean ‘es_result_relations’?
962 | estate->es_result_relation_info = rri;
| ^~~~~~~~~~~~~~~~~~~~~~~
| es_result_relations
make: *** [: src/partition_filter.o] Error 1

Environment

ubuntu 20.04
postgres 12.13

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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