Reputation: 6251
I have a use case where I need to:
How would I achieve this? Is it possible to commit a transaction and start a new one without releasing the row locks?
Upvotes: 3
Views: 60
Reputation: 4924
Postgres supports Advisory Locks, that can be hold over Session Lifetime. If all your threads use these locks, you would be safe.
Upvotes: 1