3 ms·
Class based indexes - looks great, is there support for CREATE INDEX CONCURRENTLY for postgres ?
by jbub 10y ago
Class based indexes - looks great, is there support for CREATE INDEX CONCURRENTLY for postgres ?
- rowanseymour 10y agoI also wondered that but seems from https://code.djangoproject.com/ticket/21039 https://code.djangoproject.com/ticket/21039 they'd prefer devs to do that manually in migrations marked as non-atomic
- brianwawok 10y agoMakes sense, would be weird to start testing while indexes are building
- rowanseymour 10y agoCONCURRENTLY doesn't build indexes asynchronously - it just builds them in a way that doesn't lock the table.
- brianwawok 10y agoOh I thought it returned control after you hit it.