From f21848de20130146bc8039504af40bd24add54cd Mon Sep 17 00:00:00 2001
From: Michael Paquier
Date: Mon, 4 Dec 2023 09:53:49 +0900
Subject: Add support for REINDEX in event triggers
This commit adds support for REINDEX in event triggers, making this
command react for the events ddl_command_start and ddl_command_end. The
indexes rebuilt are collected with the ReindexStmt emitted by the
caller, for the concurrent and non-concurrent paths.
Thanks to that, it is possible to know a full list of the indexes that a
single REINDEX command has worked on.
Author: Garrett Thornburg, Jian He
Reviewed-by: Jim Jones, Michael Paquier
Discussion: https://postgr.es/m/CAEEqfk5bm32G7sbhzHbES9WejD8O8DCEOaLkxoBP7HNWxjPpvg@mail.gmail.com
---
doc/src/sgml/event-trigger.sgml | 8 ++++++++
1 file changed, 8 insertions(+)
(limited to 'doc/src')
diff --git a/doc/src/sgml/event-trigger.sgml b/doc/src/sgml/event-trigger.sgml
index 10b20f0339a..234b4ffd024 100644
--- a/doc/src/sgml/event-trigger.sgml
+++ b/doc/src/sgml/event-trigger.sgml
@@ -1032,6 +1032,14 @@
-
+
+ REINDEX
+ X
+ X
+ -
+ -
+
+
REVOKE
X
--
cgit v1.2.3