Should TRUNCATE fire DDL triggers - Mailing list pgsql-hackers

From Hari Krishna Sunder
Subject Should TRUNCATE fire DDL triggers
Date
Msg-id CAAeiqZ3z+KWSPD4mMGiah22dE8ST2Gtwtu3uAVFf43qpiOVFRg@mail.gmail.com
Whole thread Raw
Responses Re: Should TRUNCATE fire DDL triggers
List pgsql-hackers
First of all, is TRUNCATE a DDL or a DML? This doc refers to it as a DDL, whereas other docs like this and this 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

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Can can I make an injection point wait occur no more than once?
Next
From: "David G. Johnston"
Date:
Subject: Re: Should TRUNCATE fire DDL triggers