pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@lists.postgresql.org
Subject: Re: Let's get rid of serial_schedule
Date: Tue, 11 May 2021 22:12:46 +0300
Message-ID: <fb34bbd4-2155-0944-e3a2-ae8d0e0dd09d@iki.fi> (raw)
In-Reply-To: <899209.1620759506@sss.pgh.pa.us>
References: <899209.1620759506@sss.pgh.pa.us>

On 11/05/2021 21:58, Tom Lane wrote:
> We've several times discussed doing $SUBJECT by replacing the
> makefile's use of serial_schedule with calling parallel_schedule
> with --max-connections=1.  This'd remove the need to maintain
> two lists of regression test scripts.
> 
> I got annoyed again just now about how people seem unable to
> keep the two lists in the same order, so here is a patch to
> get rid of serial_schedule in that way.

+1

> +	# for backwards compatibility, interpret "serial" as parallel tests

This comment isn't great, IMHO. How about:

# for backwards comopatibility, "serial" runs the tests in
# parallel_schedule one by one.

- Heikki





view thread (7+ messages)  latest in thread

Message-ID: <fb34bbd4-2155-0944-e3a2-ae8d0e0dd09d@iki.fi>
Permalink:  ../fb34bbd4-2155-0944-e3a2-ae8d0e0dd09d@iki.fi/
Also on:    postgresql.org/message-id/fb34bbd4-2155-0944-e3a2-ae8d0e0dd09d@iki.fi

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: hlinnaka@iki.fi, tgl@sss.pgh.pa.us
  Subject: Re: Let's get rid of serial_schedule
  In-Reply-To: <fb34bbd4-2155-0944-e3a2-ae8d0e0dd09d@iki.fi>
  References: <899209.1620759506@sss.pgh.pa.us> <fb34bbd4-2155-0944-e3a2-ae8d0e0dd09d@iki.fi>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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