Re: sepgsql contrib module

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kohei Kaigai <Kohei(dot)Kaigai(at)eu(dot)nec(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>, PgHacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: sepgsql contrib module
Date: 2011-02-15 15:54:49
Message-ID: AANLkTinr5wuXVAFGT7R6kfbVzGLToxJkpsg05EZixCLb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Feb 15, 2011 at 10:50 AM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
> On 02/15/2011 10:34 AM, Robert Haas wrote:
>> On Mon, Feb 14, 2011 at 9:55 PM, Tom Lane<tgl(at)sss(dot)pgh(dot)pa(dot)us>  wrote:
>>> On the whole, I don't think that sepgsql-regtest.pp should be built or
>>> installed at all during the build phase.  It ought to be generated
>>> during regression test startup, instead.
>>
>> You have to manually install and enable it before you can run the
>> regression tests.  This is documented.
>
> That's not the point. Right now you can't even run just a postgresql build
> on a machine that doesn't have selinux enabled, let alone run the regression
> tests. And if we construct the regression gadget at postgresql build time,
> who is to say it has the right settings for the run time environment, given
> that the build is apparently dependent on a runtime kernel setting?

Those are good points. My point was just that you can't actually
build that file at the time you RUN the regression tests, because you
have to build it first, then install it, then run the regression
tests. It could be a separate target, like 'make policy', but I don't
think it works to make it part of 'make installcheck'.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-02-15 15:57:17 Re: pageinspect's infomask and infomask2 as smallint
Previous Message Tom Lane 2011-02-15 15:53:32 Re: pageinspect's infomask and infomask2 as smallint