Yet another issue with pg_upgrade vs unix_socket_directories

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@postgreSQL.org
Date: 2012-09-03T21:00:15Z
Lists: pgsql-hackers

Attachments

I went back for another try at building the Fedora packages with 9.2
branch tip ... and it still failed at pg_upgrade's "make check".
The reason for this is that test.sh starts a couple of random
postmasters, and those postmasters expect to put their sockets in
the configured default location (which is now /var/run/postgresql
on Fedora), and that's not there in a minimal build environment.

I hacked it up with the attached quick-and-dirty patch, but I wonder
if anyone's got a better idea.

			regards, tom lane