Errors on compiling Trigger example Pgsql 6.5.3

From: Thomas Egge <teg(at)ratio(dot)de>
To: pgsql-general(at)postgreSQL(dot)org
Cc: teg(at)joe(dot)ratio(dot)intern
Subject: Errors on compiling Trigger example Pgsql 6.5.3
Date: 2000-01-25 15:37:54
Message-ID: 00012517095703.03292@Thomy
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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 Admiralittstr. 59
Fax: +49-(0)40-369007-75 20459 Hamburg
Email: mailto:teg(at)ratio(dot)de

Responses

  • JDBC 2.0 at 2000-01-25 18:15:25 from Joe666

Browse pgsql-general by date

  From Date Subject
Next Message Marten Feldtmann 2000-01-25 17:06:00 pgsql over ISDN lines ...
Previous Message Thomas Egge 2000-01-25 15:30:39