Re: Too-long socket paths are breaking several buildfarm members

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-hackers@lists.postgresql.org, Noah Misch <noah@leadboat.com>
Date: 2022-07-04T01:40:23Z
Lists: pgsql-hackers
Michael Paquier <michael@paquier.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



Commits

  1. Use a short socket directory path in pg_upgrade testing.