<Eugen(dot)Konkov(at)aldec(dot)com> writes:> EXPECTED: Pg must unlock if function execution failed
This is not a bug; it is the intended and documented behaviorof advisory locks.
regards, tom lane