Description
In the general cache code a certain lock is not released if conflicts are found.
The upshot is that when a prepared statement is already there and the same statement is inserted with a different text, one cache line will remain locked.
Some (but not all) prepare statements will then hang.