Re: rules regression test fix - Mailing list pgsql-patches

From Joe Conway
Subject Re: rules regression test fix
Date
Msg-id 3D6BF72A.8090509@joeconway.com
Whole thread Raw
In response to Re: rules regression test fix  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: rules regression test fix
List pgsql-patches
Tom Lane wrote:
> This would *not* catch problems created by transient states within a
> test.  For example, if some test running parallel with the rules test
> were to create a temp table and put a rule on the temp table, then the
> rules test's display of all rules might show that rule when run in
> parallel ... but there's no bug in either sequential order.
>
> I think it'd be worth trying the cross-check sketched above, if anyone
> has the patience, but beyond that I'm not sure how we might rule out
> problems.
>
> But in reality, if there were such problems I'd be inclined to think
> we'd have heard about them before now.
>

I've seen this kind of problem before, but not often enough to bother
me. I was actually thinking that each parallel test should use its own
schema.

Joe


pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: warning fix
Next
From: Neil Conway
Date:
Subject: fix for palloc() of user-supplied length