Re: Should REINDEX be listed under DDL?

2023-12-04 Thread Isaac Morland
On Mon, 4 Dec 2023 at 02:54, Laurenz Albe wrote: > REINDEX is philosophically a maintenance command and a Postgres > > extension not in the SQL standard, so it does not really qualify as a > > DDL because it does not do in object definitions, so we could just > > delete this comment. Or could

Re: Should REINDEX be listed under DDL?

2023-12-03 Thread Laurenz Albe
On Mon, 2023-12-04 at 14:26 +0900, Michael Paquier wrote: > On a recent thread about adding support for event triggers with > REINDEX, a change has been proposed to make REINDEX queries reflect in > the logs under the DDL category: >

Should REINDEX be listed under DDL?

2023-12-03 Thread Michael Paquier
Hi all, On a recent thread about adding support for event triggers with REINDEX, a change has been proposed to make REINDEX queries reflect in the logs under the DDL category: https://www.postgresql.org/message-id/ZW0ltJXJ2Aigvizl%40paquier.xyz REINDEX being classified as LOGSTMT_ALL comes from