cannot compile www_fdw Foreign Data Wrapper

Поиск
Список
Период
Сортировка
От Adrian Schreyer
Тема cannot compile www_fdw Foreign Data Wrapper
Дата
Msg-id CACYduyKbpd8DqMSkGZVypyxVEOo0aT=Se-M9-Ad5LERxqxCNPg@mail.gmail.com
обсуждение исходный текст
Ответы Re: cannot compile www_fdw Foreign Data Wrapper  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi all,

I am trying to compile the www_fdw foreign data wrapper on PostgreSQL
9.2 beta but I am getting the following error:

cp sql/www_fdw.sql sql/www_fdw--0.1.0.sql
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security -Werror=format-security -fPIC -DLINUX_OOM_ADJ=0
-Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
-fwrapv -fexcess-precision=standard -g -fpic -I/usr/include/libxml2
-I. -I. -I/usr/include/postgresql/9.2/server
-I/usr/include/postgresql/internal -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o src/json_parser.o
src/json_parser.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security -Werror=format-security -fPIC -DLINUX_OOM_ADJ=0
-Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
-fwrapv -fexcess-precision=standard -g -fpic -I/usr/include/libxml2
-I. -I. -I/usr/include/postgresql/9.2/server
-I/usr/include/postgresql/internal -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
src/serialize_quals.o src/serialize_quals.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security -Werror=format-security -fPIC -DLINUX_OOM_ADJ=0
-Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
-fwrapv -fexcess-precision=standard -g -fpic -I/usr/include/libxml2
-I. -I. -I/usr/include/postgresql/9.2/server
-I/usr/include/postgresql/internal -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o src/www_fdw.o
src/www_fdw.c
src/www_fdw.c:126:1: error: unknown type name ‘FdwPlan’
src/www_fdw.c: In function ‘www_fdw_handler’:
src/www_fdw.c:309:12: error: ‘FdwRoutine’ has no member named ‘PlanForeignScan’
src/www_fdw.c: At top level:
src/www_fdw.c:434:1: error: unknown type name ‘FdwPlan’
src/www_fdw.c: In function ‘www_plan’:
src/www_fdw.c:437:2: error: unknown type name ‘FdwPlan’
src/www_fdw.c:441:12: error: ‘FdwPlan’ undeclared (first use in this function)
src/www_fdw.c:441:12: note: each undeclared identifier is reported
only once for each function it appears in
src/www_fdw.c:441:12: error: expected expression before ‘)’ token
src/www_fdw.c:442:9: error: request for member ‘fdw_private’ in
something not a structure or union
make: *** [src/www_fdw.o] Error 1

Any ideas what the problem could be?

В списке pgsql-general по дате отправления:

Предыдущее
От: Paulo Correia
Дата:
Сообщение: Re: Postgres 9.0 Streaming Replication and Load Balancing?
Следующее
От: Seref Arikan
Дата:
Сообщение: Re: Is EXISTS the most efficient approach for PostgreSql to check for existence of nodes in a tree?