Re: PATCH: Add REINDEX tag to event triggers
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: jian he <jian.universality@gmail.com>
Cc: Garrett Thornburg <film42@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2023-07-25T23:50:56Z
Lists: pgsql-hackers
On Tue, Jul 25, 2023 at 04:34:47PM +0800, jian he wrote: > so T_ReindexStmt should only be in ProcessUtilitySlow, if you want > to create an event trigger on reindex? > > regression tests work fine. I even play with partitions. It would be an idea to have some regression tests for partitions, actually, so as some patterns around ReindexMultipleInternal() are checked. We could have a REINDEX DATABASE in a TAP test with an event trigger, as well, but I don't feel strongly about the need to do that much extra work in 090_reindexdb.pl or 091_reindexdb_all.pl if partitions cover the multi-table case. -- Michael
Commits
-
Fix assertion failure with REINDEX and event triggers
- c426f7c2b36a 17.0 landed
-
Add support for REINDEX in event triggers
- f21848de2013 17.0 landed
-
Doc: Improve documentation for creating custom scan paths.
- 7ef5f5fb3240 17.0 cited
-
Add const decorations
- 11af63fb48d2 17.0 cited