Skip to content

Commit b251cf3

Browse files
committed
Fix trigger example code to match header changes
I should have done this in b93f5a5 but didn't notice the problem at the time. Per report from Marco Nenciarini
1 parent 438269e commit b251cf3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/src/sgml/trigger.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ typedef struct TriggerData
573573
<listitem>
574574
<para>
575575
A pointer to a structure of type <structname>Trigger</>,
576-
defined in <filename>utils/rel.h</>:
576+
defined in <filename>utils/reltrigger.h</>:
577577

578578
<programlisting>
579579
typedef struct Trigger
@@ -671,7 +671,8 @@ CREATE TABLE ttest (
671671
<programlisting><![CDATA[
672672
#include "postgres.h"
673673
#include "executor/spi.h" /* this is what you need to work with SPI */
674-
#include "commands/trigger.h" /* ... and triggers */
674+
#include "commands/trigger.h" /* ... triggers ... */
675+
#include "utils/rel.h" /* ... and relations */
675676

676677
#ifdef PG_MODULE_MAGIC
677678
PG_MODULE_MAGIC;

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