-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop using CONCURRENTLY when creating indexes
CONCURRENT indexes are only valid if they are not created inside a transaction block. psycopg2 has started to automatically emit BEGIN / END transaction when using the "with " context manager, thus causing explicit transactions to happen for us here. See: psycopg/psycopg2#941 This means that we now need to stop using concurrently as we may or may not be inside a transaction block.
- Loading branch information
Showing
2 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters