pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Re-add BRIN isolation test
5+ messages / 3 participants
[nested] [flat]
* pgsql: Re-add BRIN isolation test
@ 2015-08-13 17:46 Alvaro Herrera <alvherre@alvh.no-ip.org>
0 siblings, 1 reply; 5+ messages in thread
From: Alvaro Herrera @ 2015-08-13 17:46 UTC (permalink / raw)
To: pgsql-committers
Re-add BRIN isolation test
This time, instead of using a core isolation test, put it on its own
test module; this way it can require the pageinspect module to be
present before running.
The module's Makefile is loosely modeled after test_decoding's, so that
it's easy to add further tests for either pg_regress or isolationtester
later.
Backpatch to 9.5.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/672e3ec0e93e3d2d5549b95f73b2a3ab58714146
Modified Files
--------------
src/test/modules/Makefile | 1 +
src/test/modules/brin/.gitignore | 3 ++
src/test/modules/brin/Makefile | 30 +++++++++++++
.../summarization-and-inprogress-insertion.out | 39 +++++++++++++++++
.../summarization-and-inprogress-insertion.spec | 44 ++++++++++++++++++++
5 files changed, 117 insertions(+)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Re-add BRIN isolation test
@ 2015-08-13 17:46 Alvaro Herrera <alvherre@alvh.no-ip.org>
0 siblings, 0 replies; 5+ messages in thread
From: Alvaro Herrera @ 2015-08-13 17:46 UTC (permalink / raw)
To: pgsql-committers
Re-add BRIN isolation test
This time, instead of using a core isolation test, put it on its own
test module; this way it can require the pageinspect module to be
present before running.
The module's Makefile is loosely modeled after test_decoding's, so that
it's easy to add further tests for either pg_regress or isolationtester
later.
Backpatch to 9.5.
Branch
------
REL9_5_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/ae372e60b98990863058edc596df8a20207b08d0
Modified Files
--------------
src/test/modules/Makefile | 1 +
src/test/modules/brin/.gitignore | 3 ++
src/test/modules/brin/Makefile | 30 +++++++++++++
.../summarization-and-inprogress-insertion.out | 39 +++++++++++++++++
.../summarization-and-inprogress-insertion.spec | 44 ++++++++++++++++++++
5 files changed, 117 insertions(+)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [COMMITTERS] pgsql: Re-add BRIN isolation test
@ 2015-08-13 20:26 Alvaro Herrera <alvherre@2ndquadrant.com>
parent: Alvaro Herrera <alvherre@alvh.no-ip.org>
0 siblings, 1 reply; 5+ messages in thread
From: Alvaro Herrera @ 2015-08-13 20:26 UTC (permalink / raw)
To: pgsql-hackers@postgresql.org
Alvaro Herrera wrote:
> Re-add BRIN isolation test
>
> This time, instead of using a core isolation test, put it on its own
> test module; this way it can require the pageinspect module to be
> present before running.
>
> The module's Makefile is loosely modeled after test_decoding's, so that
> it's easy to add further tests for either pg_regress or isolationtester
> later.
Argh, and this now broke MSVC :-(
I'm tempted to change this block from Mkvcbuild.pm,
else
{
croak "Could not determine contrib module type for $n\n";
}
(i.e. it doesn't find any of PROGRAM, MODULES, MODULE_big in the
Makefile) so that instead of raising an error it simply skips the module
altogether. That's pretty much equivalent to what Make would do. Maybe
restrict this behavior to within src/test/modules.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [COMMITTERS] pgsql: Re-add BRIN isolation test
@ 2015-08-13 21:42 Andrew Dunstan <andrew@dunslane.net>
parent: Alvaro Herrera <alvherre@2ndquadrant.com>
0 siblings, 1 reply; 5+ messages in thread
From: Andrew Dunstan @ 2015-08-13 21:42 UTC (permalink / raw)
To: Alvaro Herrera <alvherre@2ndquadrant.com>; pgsql-hackers@postgresql.org
On 08/13/2015 04:26 PM, Alvaro Herrera wrote:
> Alvaro Herrera wrote:
>> Re-add BRIN isolation test
>>
>> This time, instead of using a core isolation test, put it on its own
>> test module; this way it can require the pageinspect module to be
>> present before running.
>>
>> The module's Makefile is loosely modeled after test_decoding's, so that
>> it's easy to add further tests for either pg_regress or isolationtester
>> later.
> Argh, and this now broke MSVC :-(
>
> I'm tempted to change this block from Mkvcbuild.pm,
>
> else
> {
> croak "Could not determine contrib module type for $n\n";
> }
>
> (i.e. it doesn't find any of PROGRAM, MODULES, MODULE_big in the
> Makefile) so that instead of raising an error it simply skips the module
> altogether. That's pretty much equivalent to what Make would do. Maybe
> restrict this behavior to within src/test/modules.
>
An immediate solution would probably be to add it to @contrib_excludes.
cheers
andrew
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: [COMMITTERS] pgsql: Re-add BRIN isolation test
@ 2015-08-13 22:40 Alvaro Herrera <alvherre@2ndquadrant.com>
parent: Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 5+ messages in thread
From: Alvaro Herrera @ 2015-08-13 22:40 UTC (permalink / raw)
To: Andrew Dunstan <andrew@dunslane.net>; +Cc: pgsql-hackers@postgresql.org
Andrew Dunstan wrote:
> On 08/13/2015 04:26 PM, Alvaro Herrera wrote:
> >Argh, and this now broke MSVC :-(
> An immediate solution would probably be to add it to @contrib_excludes.
Ah, that seems simpler. Pushed that, let's see if it cures the problem.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2015-08-13 22:40 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-08-13 17:46 pgsql: Re-add BRIN isolation test Alvaro Herrera <alvherre@alvh.no-ip.org>
2015-08-13 20:26 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2015-08-13 21:42 ` Andrew Dunstan <andrew@dunslane.net>
2015-08-13 22:40 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2015-08-13 17:46 pgsql: Re-add BRIN isolation test Alvaro Herrera <alvherre@alvh.no-ip.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox