Error trying to compile a simple C trigger - Mailing list pgsql-hackers

From Marco Nenciarini
Subject Error trying to compile a simple C trigger
Date
Msg-id 1332240786.3020.10.camel@greygoo.devise-it.lan
Whole thread Raw
Responses Re: Error trying to compile a simple C trigger  (Peter Geoghegan <peter@2ndquadrant.com>)
Re: Error trying to compile a simple C trigger  (Asif Naeem <asif.naeem@enterprisedb.com>)
Re: Error trying to compile a simple C trigger  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: Error trying to compile a simple C trigger  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
I was trying to compile orafce on the current master and it yield
an error at line
tupdesc = trigdata->tg_relation->rd_att;

alert.c: In function ‘dbms_alert_defered_signal’:
alert.c:839:33: error: dereferencing pointer to incomplete type
make: *** [alert.o] Error 1

I've also tried the example at

http://www.postgresql.org/docs/devel/static/trigger-example.html

and the result is exactly the same.

trigtest.c: In function ‘trigf’:
trigtest.c:44:36: error: dereferencing pointer to incomplete type
make: *** [trigtest.o] Error 1

Regards,
Marco

--
Marco Nenciarini - 2ndQuadrant Italy
PostgreSQL Training, Services and Support
marco.nenciarini@2ndQuadrant.it | www.2ndQuadrant.it




pgsql-hackers by date:

Previous
From: MUHAMMAD ASIF
Date:
Subject: Re: vacuumlo issue
Next
From: Peter Geoghegan
Date:
Subject: Re: Error trying to compile a simple C trigger