From: | Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com> |
---|---|
To: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
Subject: | Re: Regression tests vs SERIALIZABLE |
Date: | 2021-03-15 06:59:56 |
Message-ID: | CALj2ACVvRBZmrJAOR8PpWqrugQo8S-iR6=D0ZQVwTPAQwfwoyg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Mar 15, 2021 at 11:04 AM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
>
> On Mon, Mar 15, 2021 at 6:14 PM Bharath Rupireddy
> <bharath(dot)rupireddyforpostgres(at)gmail(dot)com> wrote:
> > On Mon, Mar 15, 2021 at 9:54 AM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> > > While reviewing the patch for parallel REFRESH MATERIALIZED VIEW, I
> > > noticed that select_parallel.sql and write_parallel.sql believe that
> > > (1) the tests are supposed to work with serializable as a default
> > > isolation level, and (2) parallelism would be inhibited by that, so
> > > they'd better use something else explicitly. Here's a patch to update
> > > that second thing in light of commit bb16aba5. I don't think it
> > > matters enough to bother back-patching it.
> >
> > +1, patch basically LGTM. I have one point - do we also need to remove
> > "begin isolation level repeatable read;" in aggreates.sql, explain.sql
> > and insert_parallel.sql? And in insert_parallel.sql, the comment also
> > says "Serializable isolation would disable parallel query", which is
> > not true after bb16aba5. Do we need to change that too?
>
> Yeah, you're right. That brings us to the attached.
Thanks. v2 LGTM, both make check and make check-world passes on my dev system.
With Regards,
Bharath Rupireddy.
EnterpriseDB: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Erica Zhang | 2021-03-15 07:05:24 | Re: Add some tests for pg_stat_statements compatibility verification under contrib |
Previous Message | Amit Kapila | 2021-03-15 06:32:46 | Re: Parallel INSERT (INTO ... SELECT ...) |