Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
> I think you'll need to just memorize the lock deletion command in
> a backend-local list, and perform the deletion in a post-commit
> function.
Hmm. As mentioned earlier in the thread, cleaning these up doesn't
actually have any benefit beyond freeing space in the predicate
locking collections. I'm not sure that benefit is enough to justify
this much new mechanism. Maybe I should just leave them alone and
let them get cleaned up in due course with the rest of the locks.
Any opinions on that?
-Kevin