Y
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
rowanseymour
3405 days ago
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
link
brianwawok
3405 days ago
Makes sense, would be weird to start testing while indexes are building
link
rowanseymour
3405 days ago
CONCURRENTLY doesn't build indexes asynchronously - it just builds them in a way that doesn't lock the table.
link
brianwawok
3405 days ago
Oh I thought it returned control after you hit it.
link