Dear list
I am trying to compile the example from Chapter 13. Triggers from the
PostgreSQL Programmers's Guide.
If I include following header-files:
#include "executor/spi.h"
#include "commands/trigger.h"
I get the following errors:
c++ -DHAVE_CONFIG_H -I. -I. -I.. -O0 -g3 -Wall -I
/usr/local/pgsql/include -L /usr/local/pgsql/lib -c trigf.cpp In file included
from /usr/local/pgsql/include/nodes/relation.h:16, from
/usr/local/pgsql/include/executor/spi.h:14, from dbicp.cpp:6:
/usr/local/pgsql/include/nodes/parsenodes.h:698: parse error before `typename'
/usr/local/pgsql/include/nodes/parsenodes.h:738: parse error before `typename'
/usr/local/pgsql/include/nodes/parsenodes.h:770: parse error before `typename'
/usr/local/pgsql/include/nodes/parsenodes.h:874: parse error before `;'
/usr/local/pgsql/include/nodes/parsenodes.h:875: parse error before `typename'
In file included from /usr/local/pgsql/include/utils/rel.h:17,
from /usr/local/pgsql/include/access/relscan.h:17,
from /usr/local/pgsql/include/nodes/execnodes.h:19,
from /usr/local/pgsql/include/executor/spi.h:15,
from dbicp.cpp:6:
/usr/local/pgsql/include/access/tupdesc.h:71: parse error before `typeid'
make: *** [trigf.o] Error 1
Is this a common problem ?
Can anybody help me ?
With best regards
--
Thomas Egge
Softwareentwicklung
RATIO Entwicklungen GmbH
Phone :+49-(0)40-369007-20 Admiralit�tstr. 59
Fax: +49-(0)40-369007-75 20459 Hamburg
Email: mailto:teg@ratio.de