| From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: pgsql: Disable installcheck tests for test_session_hooks |
| Date: | 2017-11-16 06:45:35 |
| Message-ID: | CAB7nPqT2cZhKAVcXWjey-sC+hZGngYM6Qr-VVtnpDc6s2SXYRw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers pgsql-hackers |
On Thu, Nov 16, 2017 at 11:41 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)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).
--
Michael
| Attachment | Content-Type | Size |
|---|---|---|
| session_hook_makefile_clean.patch | application/octet-stream | 4.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Stephen Frost | 2017-11-16 12:18:23 | Re: pgsql: Add hooks for session start and session end |
| Previous Message | Tom Lane | 2017-11-16 02:41:18 | Re: pgsql: Disable installcheck tests for test_session_hooks |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pavel Stehule | 2017-11-16 07:01:11 | wrong formatting psql expanded mode short columns |
| Previous Message | Pavel Stehule | 2017-11-16 06:38:04 | Re: pspg - psql pager |