Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Create/Drop a database index online (without locking the table) on PostgreSQL
CREATE INDEX CONCURRENTLY {indexName} ON {tableName} ({columnName});
DROP INDEX CONCURRENTLY {indexName};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.