Michael Paquier <michael(at)paquier(dot)xyz> writes:
> There is PostgreSQL::Test::Utils::tempdir_short for that, which is
> what all the nodes created in Cluster.pm use for
> unix_socket_directories. One way to address the issue would be to
> pass that to pg_upgrade with --socketdir, as of the attached.
Yeah, I just came to the same conclusion and pushed an equivalent
patch. Sorry for the duplicated effort.
regards, tom lane