Comments (1)
Hey @pirj.
I think that the problem is even more global. Our approach is to disable transaction for all migrations in order to release locks as soon as possible.
So, unless PgBouncer is used in session pooling mode, I would advise to not use safe-pg-migrations with it.
Thanks for the gotcha, and feel free to submit a PR!
from safe-pg-migrations.
Related Issues (16)
- Support default value on a table where id is a UUID HOT 9
- using change_column_null can make the migration fail
- add_column, null: false should be executed in one statement
- Wrong number of arguments - Rails 6.1 HOT 2
- Can't rollback an add_index migration HOT 7
- strong-migrations warns about dangerous operation when adding foreign key
- blocking_activity_logger: can't convert String into an exact number HOT 9
- Safe rename table & column HOT 2
- Idea: only disable DDL transaction for transactions that use helpers HOT 3
- Adding a foreign key causes `ArgumentError: unknown keyword: :column` HOT 1
- Option to disable IdempotentStatements? HOT 2
- Error undefined method `table' for "index_name":String on v1.4.0 HOT 4
- question: Is there a way to disable logging for some migrations? HOT 4
- safe rename_column seems to be missing? HOT 13
- Escape hatch for unsafe migrations HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from safe-pg-migrations.