kaaveland / eugene

Careful With that Lock, Eugene
MIT License
32 stars 1 forks source link

Add lint for altering the same table again #56

Closed kaaveland closed 6 months ago

kaaveland commented 6 months ago

Closes #53 - we recommend doing alter table once to each table, possibly with many alter table commands. This enables postgres to execute validations etc in one pass over the table, instead of having to scan it many times, so it might reduce locking issues by reducing lock duration.