Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rule to prevent concurrent index creation inside transactions #335

Conversation

alixlahuec
Copy link
Contributor

@alixlahuec alixlahuec commented Jan 7, 2024

Add a rule that warns about creating an index with the CONCURRENTLY option inside a transaction, since that's not allowed in Postgres. This will resolve #332

Copy link

netlify bot commented Jan 7, 2024

👷 Deploy request for squawkhq pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 03baf9c

@alixlahuec alixlahuec marked this pull request as ready for review January 7, 2024 18:27
Copy link
Collaborator

@chdsbd chdsbd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Thanks for adding this rule, tests, and documentation. I appreciate it.

@chdsbd chdsbd added the automerge automerge with kodiak label Jan 12, 2024
@kodiakhq kodiakhq bot merged commit 5e0b0a9 into sbdchd:master Jan 12, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge automerge with kodiak
Projects
None yet
Development

Successfully merging this pull request may close these issues.

new rule: concurrent index creation cannot be run in transaction
2 participants