First of all, is TRUNCATE a DDL or a DML? This
<https://www.postgresql.org/docs/current/mvcc-caveats.html> doc refers to
it as a DDL, whereas other docs like this
<https://www.postgresql.org/docs/17/runtime-config-logging.html#GUC-LOG-STATEMENT>
and this
<https://www.postgresql.org/docs/17/hot-standby.html#HOT-STANDBY-USERS> treat
it as a DML, so which one is it?
A lot of other SQL databases treat TRUNCATE as a DDL, so assuming that is
true, can we add it to the command tags supported by "ddl_command_start"
and "ddl_command_end" triggers?
---
Hari Krishna Sunder