On Mon, Jun 24, 2019 at 11:21 AM Tom Lane <t...@sss.pgh.pa.us> wrote: > > I'm repeating myself, but I still think it's super-useful to > > distinguish things which are "for expert use only" from things which > > are "totally bonkers." > > Agreed, although "DML vs DDL" is a pretty poor approximation of that > boundary. As shown in examples upthread, you can find reasonable things > to do and totally-catastrophic things to do in both categories.
I agree. I would like it if there were a way to do better, but I'm not sure that there is, at least for a reasonable level of effort. > There's an aesthetic argument to be had about whether to have two > bools or one three-way switch, but I prefer the former; there's > no backward-compatibility issue here since allow_system_table_mods > couldn't be set by applications anyway. I'm happy to defer on that point. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company