Re: pgsql: Rework option set of vacuumlo

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Rework option set of vacuumlo
Date: 2018-08-28 21:37:01
Message-ID: 20180828213701.GL29157@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Tue, Aug 28, 2018 at 05:08:25PM -0400, Tom Lane wrote:
> I wrote:
>> Digging, this is because the "make check" processing isn't actually
>> installing oid2name (resp. vacuumlo) into the temp installation tree :-(.
>>
>> I don't think this is the fault of your tests, exactly --- there's
>> something wrong in the existing make rules. I'm not sure what though.
>> EXTRA_INSTALL should be getting set, according to pgxs.mk:
>> temp-install: EXTRA_INSTALL+=$(subdir)
>> but it evidently isn't.
>
> Oh! The reason why not is that that line is inside "ifdef REGRESS",
> and these subdirectories have no REGRESS tests. So we should move
> that out to where it will apply regardless of that. Will fix.

Yes, I was going to send a patch along the same lines as what you have
just committed. Thanks! It looks that the binary was installed in my
own PATH, so I did not notice it.

This should definitely get back-patched in my opinion, I have similar
problems with pg_rewind tests of 9.3 and 9.4 that I still maintain out
of the core tree, where the main binary needs to be installed first. In
this case I just used some Makefile trick.
--
Michael

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-08-28 21:47:47 Re: pgsql: Rework option set of vacuumlo
Previous Message Tom Lane 2018-08-28 21:26:28 pgsql: Include contrib modules in the temp installation even without RE