Re: pgsql: Disable installcheck tests for test_session_hooks - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pgsql: Disable installcheck tests for test_session_hooks
Date
Msg-id CAB7nPqT0VxY7gUhNGeTc_kxHb81CSOXVjmiNgZN9OmGTy3P9mg@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Disable installcheck tests for test_session_hooks  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: pgsql: Disable installcheck tests for test_session_hooks  (Ashutosh Sharma <ashu.coek88@gmail.com>)
List pgsql-hackers
On Thu, Nov 16, 2017 at 3:45 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> On Thu, Nov 16, 2017 at 11:41 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Andrew Dunstan <andrew@dunslane.net> writes:
>>> Disable installcheck tests for test_session_hooks
>>
>> This seems not quite right; it's causing warnings like this:
>>
>> $ make -s clean
>> Makefile:25: warning: overriding commands for target `installcheck'
>> ../../../../src/makefiles/pgxs.mk:275: warning: ignoring old commands for target `installcheck'
>
> This is caused by the fact that installcheck gets defined because of
> REGRESS. This stuff should do something similar to what is done in
> contrib/test_decoding/Makefile, and I think that it would be useful to
> have the option to force installcheck on an installation that has all
> the needed parameters set. With this last point, I think that the
> test_session_hooks.sql should drop the roles it created. Attached is a
> cleanup patch (includes fixes for compilation warnings).

Just sending an updated patch to cope with the fact that this module
does not need to define the EXTENSION and DATA fields, and does not
need a sql and a control file..
-- 
Michael

Attachment

pgsql-hackers by date:

Previous
From: Huong Dangminh
Date:
Subject: RE: Re: User defined data types in Logical Replication
Next
From: Michael Paquier
Date:
Subject: Re: test_session_hooks--1.0.sql file in 'test_session_hooks' needs correction