by saddist0 · 2y ago · 0 comments
This is not how it works, period.
CREATE TABLE <abcv2> SELECT * FROM <abc> WHERE <>
People do it all the time, either to create a backup table, or deleting data in bulk, etc.If something goes pear-shaped or I really need them, I can create those indexes later.
Also make sure to set maintenance_work_mem high as it helps with index creation