Skip to content
Snippets Groups Projects
Commit aa09b9dc authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

doc: Add missing include in example code


It's not broken because the header file is included via other headers,
but for better style we should be more explicit.

Reported-by: default avatar <mthrockmorton@hme.com>
parent c82d4e65
No related branches found
No related tags found
No related merge requests found
...@@ -705,6 +705,7 @@ CREATE TABLE ttest ( ...@@ -705,6 +705,7 @@ CREATE TABLE ttest (
This is the source code of the trigger function: This is the source code of the trigger function:
<programlisting><![CDATA[ <programlisting><![CDATA[
#include "postgres.h" #include "postgres.h"
#include "fmgr.h"
#include "executor/spi.h" /* this is what you need to work with SPI */ #include "executor/spi.h" /* this is what you need to work with SPI */
#include "commands/trigger.h" /* ... triggers ... */ #include "commands/trigger.h" /* ... triggers ... */
#include "utils/rel.h" /* ... and relations */ #include "utils/rel.h" /* ... and relations */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment