Alvaro Herrera <alvhe...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers