Yet another issue with pg_upgrade vs unix_socket_directories

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Yet another issue with pg_upgrade vs unix_socket_directories
Date: 2012-09-03 21:00:15
Message-ID: 25656.1346706015@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
pg_upgrade-test-socket-directories.patch text/x-patch 1.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2012-09-03 21:04:15 Re: Proof of concept: standalone backend with full FE/BE protocol
Previous Message Tom Lane 2012-09-03 20:54:23 Re: Proof of concept: standalone backend with full FE/BE protocol