Hacker News new | ask | show | jobs
by jbub 3405 days ago
Class based indexes - looks great, is there support for CREATE INDEX CONCURRENTLY for postgres ?
1 comments

I also wondered that but seems from https://code.djangoproject.com/ticket/21039 they'd prefer devs to do that manually in migrations marked as non-atomic
Makes sense, would be weird to start testing while indexes are building
CONCURRENTLY doesn't build indexes asynchronously - it just builds them in a way that doesn't lock the table.
Oh I thought it returned control after you hit it.