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

Commit1cf1112

Browse files
committed
doc: clearify trigger behavior for inheritance
The previous wording added in PG 10 wasn't specific enough about thebehavior of statement and row triggers when using inheritance.Reported-by: ian@thepathcentral.comDiscussion:https://postgr.es/m/20171129193934.27108.30796@wrigleys.postgresql.orgBackpatch-through: 10
1 parent3b15255 commit1cf1112

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎doc/src/sgml/ref/create_trigger.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,9 +501,10 @@ UPDATE OF <replaceable>column_name1</replaceable> [, <replaceable>column_name2</
501501

502502
<para>
503503
Modifying a partitioned table or a table with inheritance children fires
504-
statement-level triggersdirectlyattached tothat table, but not
504+
statement-level triggers attached tothe explicitly named table, but not
505505
statement-level triggers for its partitions or child tables. In contrast,
506-
row-level triggers are fired for all affected partitions or child tables.
506+
row-level triggers are fired on the rows in effected partitions or
507+
child tables, even if they are not explicitly named in the query.
507508
If a statement-level trigger has been defined with transition relations
508509
named by a <literal>REFERENCING</literal> clause, then before and after
509510
images of rows are visible from all affected partitions or child tables.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp