On Tue, Jun 18, 2024 at 8:10 AM Ashutosh Sharma <ashu.coe...@gmail.com> wrote: > I've noticed that truncating mapped catalogs causes the server to > crash due to an assertion failure. Here are the details: > > Executing below commands: > > -- set allow_system_table_mods TO on; > -- truncate table pg_type;
If the operation isn't allowed without turning on allow_system_table_mods, that means that doing it is probably a bad idea and will probably break stuff, as happened here. -- Robert Haas EDB: http://www.enterprisedb.com