powered by simpleCommunicator - 2.0.59     © 2025 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / PostgreSQL [игнор отключен] [закрыт для гостей] / pg_pathman
2 сообщений из 2, страница 1 из 1
pg_pathman
    #39330500
Генератор
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
День добрый уважаемые! Подскажите, хочу проинсталлировать расширение pg_pathman ( https://github.com/postgrespro/pg_pathman/blob/master/README.rus.md), выполняю make install USE_PGXS=1 с каталога расширения, а он мне в ответ:
Код: powershell
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
-bash-4.2$ make PG_CONFIG=/usr/pgsql-9.4/bin/pg_config install
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX_OOM_ADJ=0 -fpic -I. -I./ -I/usr/pgsql-9.4/include/server -I/usr/pgsql-9.4/include/internal -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include  -c -o src/init.o src/init.c
In file included from src/init.c:14:0:
src/hooks.h:22:1: error: unknown type name ‘set_join_pathlist_hook_type’
 extern set_join_pathlist_hook_type  set_join_pathlist_next;
 ^
src/hooks.h:23:1: error: unknown type name ‘set_rel_pathlist_hook_type’
 extern set_rel_pathlist_hook_type  set_rel_pathlist_hook_next;
 ^
src/hooks.h:35:9: error: unknown type name ‘JoinPathExtraData’
         JoinPathExtraData *extra);
         ^
In file included from src/init.h:14:0,
                 from src/init.c:15:
src/relation_info.h:16:26: fatal error: port/atomics.h: No such file or directory
 #include "port/atomics.h"
                          ^
compilation terminated.
make: *** [src/init.o] Error 1



ругется на кусок кода на С. Что это за extern set_rel_pathlist_hook_type set_rel_pathlist_hook_next;???? почему он ему не нравится?
...
Рейтинг: 0 / 0
pg_pathman
    #39330804
Rhim
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Генератор,

The pg_pathman module provides optimized partitioning mechanism and functions to manage partitions.
The extension is compatible with PostgreSQL 9.5+.


У Вас же похоже 9.4.
...
Рейтинг: 0 / 0
2 сообщений из 2, страница 1 из 1
Форумы / PostgreSQL [игнор отключен] [закрыт для гостей] / pg_pathman
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]