-
Notifications
You must be signed in to change notification settings - Fork 68
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
installation error: In function ‘partition_filter_begin’ #263
Comments
Very similar issue happened when installing from cloned git repository with Postgresql 15.2 (All related pgsql15 dev libraries were installed): Description of installation steps:
ERROR:
|
I have the same issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: