postgresql/src/backend/tcop
Michael Paquier f21848de20 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
2023-12-04 09:53:49 +09:00
..
Makefile Represent command completion tags as structs 2020-03-02 18:19:51 -03:00
cmdtag.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
dest.c Fix misuse of PqMsg_Close. 2023-08-29 18:32:38 -07:00
fastpath.c Introduce macros for protocol characters. 2023-08-22 19:16:12 -07:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
postgres.c Apply quotes more consistently to GUC names in logs 2023-11-30 14:11:45 +09:00
pquery.c Simplify useless 0L constants 2023-03-29 08:25:12 +02:00
utility.c Add support for REINDEX in event triggers 2023-12-04 09:53:49 +09:00