Alvaro Herrera <alvherre@commandprompt.com> writes:
> ... after looking at it more closely, I think only this line needs to be
> in a separate file:
>
> typedef struct CommandContextData *CommandContext;
Files like src/backend/commands/tablecmds.c and others need both the
structure and the pointer, so we need both. What about putting those
definitions into src/include/catalog/pg_cmdtrigger.h?
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support