N
N
Nikolai Markov2015-06-09 01:33:46
PostgreSQL
Nikolai Markov, 2015-06-09 01:33:46

Is it correct to use the ensure block to call pg_advisory_unlock?

Can a request in a rail complete so that some unreleased lock remains in the pool of connections to the database?
In particular, can ruby ​​crash so that the ensure block is not called and the connection to the database is not closed?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question