Skip to content

Commit aa09b9d

Browse files
committed
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
1 parent c82d4e6 commit aa09b9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/src/sgml/trigger.sgml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,7 @@ CREATE TABLE ttest (
705705
This is the source code of the trigger function:
706706
<programlisting><![CDATA[
707707
#include "postgres.h"
708+
#include "fmgr.h"
708709
#include "executor/spi.h" /* this is what you need to work with SPI */
709710
#include "commands/trigger.h" /* ... triggers ... */
710711
#include "utils/rel.h" /* ... and relations */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy