8000 doc PG 18 relnotes: add AFTER trigger user change item · theory/postgres@73e26cb · GitHub
[go: up one dir, main page]

Skip to content

Commit 73e26cb

Browse files
committed
doc PG 18 relnotes: add AFTER trigger user change item
Reported-by: Noah Misch Discussion: https://postgr.es/m/20250603172123.5f.nmisch@google.com
1 parent 37e5f0b commit 73e26cb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

doc/src/sgml/release-18.sgml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,22 @@ Previously ALTER TABLE SET [UN]LOGGED did nothing, and the creation of an unlogg
157157
</para>
158158
</listitem>
159159

160+
<!--
161+
Author: Tom Lane <tgl@sss.pgh.pa.us>
162+
2025-01-23 [01463e1cc] Ensure that AFTER triggers run as the instigating user.
163+
-->
164+
165+
<listitem>
166+
<para>
167+
Execute AFTER triggers as the role that was active when trigger events were queued (Laurenz Albe)
168+
</para>
169+
170+
<para>
171+
Previously such triggers were run as the role that was active at trigger execution time (e.g., at COMMIT). This is significant for cases where the role is changed between queue time and
172+
transaction commit.
173+
</para>
174+
</listitem>
175+
160176
<!--
161177
Author: Fujii Masao <fujii@postgresql.org>
162178
2024-09-12 [fefa76f70] Remove old RULE privilege completely.

0 commit comments

Comments
 (0)
0