Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jbub
· 9y ago · 0 comments
Class based indexes - looks great, is there support for CREATE INDEX CONCURRENTLY for postgres ?
Comments
[–]
rowanseymour
9y 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
[–]
brianwawok
9y ago
Makes sense, would be weird to start testing while indexes are building
[–]
rowanseymour
9y ago
CONCURRENTLY doesn't build indexes asynchronously - it just builds them in a way that doesn't lock the table.
[–]
brianwawok
9y ago
Oh I thought it returned control after you hit it.