Alexander Stanier <alexander(dot)stanier(at)egsgroup(dot)com> writes:
> Looks as though there are several processes which are acquiring a load
> of locks:
13 locks isn't "a load". I was worried about scenarios in which a
single process might take hundreds or thousands of locks; it doesn't
look like you have that.
regards, tom lane