Re: isolation check takes a long time

From: Noah Misch <noah(at)leadboat(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: isolation check takes a long time
Date: 2012-07-27 00:12:48
Message-ID: 20120727001248.GA31830@tornado.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jul 26, 2012 at 12:16:29PM -0400, Alvaro Herrera wrote:
> Excerpts from Noah Misch's message of jue jul 26 06:28:54 -0400 2012:
> > var "isolation" = { "rc" => "READ COMMITTED", "rr" => "REPEATABLE READ" }
>
> Agreed. What would be the syntax to specify a particular value to use
> in a permutation? Maybe
>
> permutation isolation=rr "step1" "step2" ...

I figured just 'permutation "rr" "step1" "step2"', in keeping with the
tendency toward terseness already found in the implementation. It would then
be an error to use a name more than once among specs and variable.

> I'm not sure about requiring quotes around those identifiers.

Let's keep it consistent with the requirement in other contexts of the spec
file. I generally favor a policy of optional quotes, but that could be its
own patch.

Thanks,
nm

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2012-07-27 00:35:31 Re: [GENERAL] Where is diskchecker.pl ?
Previous Message Bruce Momjian 2012-07-26 23:29:43 Re: Using pg_upgrade on log-shipping standby servers