sbdchd / squawk

🐘 linter for PostgreSQL, focused on migrations
https://squawkhq.com
GNU General Public License v3.0
541 stars 37 forks source link

Add rule to prevent concurrent index creation inside transactions #335

Closed alixlahuec closed 5 months ago

alixlahuec commented 5 months ago

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 https://github.com/sbdchd/squawk/issues/332

netlify[bot] commented 5 months ago

Deploy request for squawkhq pending review.

Visit the deploys page to approve it

Name Link
Latest commit 03baf9c3083ebaa3e381fb04d9d8d3a0a5f28a22