Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb251cf3

Browse files
committed
Fix trigger example code to match header changes
I should have done this inb93f5a5 butdidn't notice the problem at the time.Per report from Marco Nenciarini
1 parent438269e commitb251cf3

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)

[8]ページ先頭

©2009-2025 Movatter.jp