A pointer to a structure of type Trigger>,
- defined in utils/rel.h>:
+ defined in utils/reltrigger.h>:
typedef struct Trigger
#include "postgres.h"
#include "executor/spi.h" /* this is what you need to work with SPI */
-#include "commands/trigger.h" /* ... and triggers */
+#include "commands/trigger.h" /* ... triggers ... */
+#include "utils/rel.h" /* ... and relations */
#ifdef PG_MODULE_MAGIC
PG_MODULE_MAGIC;