Re: Error trying to compile a simple C trigger

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Error trying to compile a simple C trigger
Дата
Msg-id 1332274556-sup-7002@alvh.no-ip.org
обсуждение исходный текст
Ответ на Error trying to compile a simple C trigger  (Marco Nenciarini <marco.nenciarini@2ndQuadrant.it>)
Список pgsql-hackers
Excerpts from Marco Nenciarini's message of mar mar 20 07:53:06 -0300 2012:
> 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

Thanks, I believe the example is fixed now.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: MUHAMMAD ASIF
Дата:
Сообщение: Re: vacuumlo issue
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: Memory usage during sorting