Hi,
Commit
https://github.com/postgres/postgres/commit/6d554e3fcd6fb8be2dbcbd3521e2947ed7a552cb
has fixed the bug, but still has room for improvement.
Why open and lock the table Extended Statistics if it is not the owner.
Check and return to avoid this.
trivial patch attached.
regards,
Ranier Vilela