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: mthrockmorton@hme.com
This commit is contained in:
parent
c82d4e658e
commit
aa09b9dcd5
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user