pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Rushabh Lathia <rushabh.lathia@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: Avoid GatherMerge crash when there are no workers.
Date: Mon, 14 Aug 2017 15:33:57 -0700
Message-ID: <20170814223357.i45ghd3pkcvypacy@alap3.anarazel.de> (raw)
In-Reply-To: <CAGPqQf3C+3PBujb+7m=ceWeii4-vBY=XS99LjzrpkpefvzJbFg@mail.gmail.com>
References: <E1cu7k6-00024s-W3@gemulon.postgresql.org>
	<20170401022605.4wag26gtyzhny7ue@alap3.anarazel.de>
	<CA+Tgmob1k_QKQfExKX1gxLr3vUg6mmzQpvcwLm=BJxYP7aabFw@mail.gmail.com>
	<CAGPqQf2xxFfDNGTHtP536mpQM=CYmaQveiMKxJ_uvBr+J8fECA@mail.gmail.com>
	<CAGPqQf3C+3PBujb+7m=ceWeii4-vBY=XS99LjzrpkpefvzJbFg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Hi,

On 2017-04-03 12:56:36 +0530, Rushabh Lathia wrote:
> On my local environment I was getting coverage for the heap_compare_slots
> with
> existing test. But it seems like due to low number of record fetch only
> leader get
> evolved to the fetching tuples in the shared report.
> 
> I modified the current test coverage for the Gather Merge to add more rows
> to be
> fetch by the GatherMerge node to make sure that it do coverage for
> heap_compare_slots. Also added test for the zero worker.
> 
> PFA patch as well as LCOV report for the nodeGatherMerge.c.

Pushed, thanks!

- Andres


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (6+ messages)

Message-ID: <20170814223357.i45ghd3pkcvypacy@alap3.anarazel.de>
Permalink:  ../20170814223357.i45ghd3pkcvypacy@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20170814223357.i45ghd3pkcvypacy@alap3.anarazel.de

 · 

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-committers@postgresql.org
  Cc: andres@anarazel.de, rushabh.lathia@gmail.com, robertmhaas@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Avoid GatherMerge crash when there are no workers.
  In-Reply-To: <20170814223357.i45ghd3pkcvypacy@alap3.anarazel.de>
  References: <E1cu7k6-00024s-W3@gemulon.postgresql.org> <20170401022605.4wag26gtyzhny7ue@alap3.anarazel.de> <CA+Tgmob1k_QKQfExKX1gxLr3vUg6mmzQpvcwLm=BJxYP7aabFw@mail.gmail.com> <CAGPqQf2xxFfDNGTHtP536mpQM=CYmaQveiMKxJ_uvBr+J8fECA@mail.gmail.com> <CAGPqQf3C+3PBujb+7m=ceWeii4-vBY=XS99LjzrpkpefvzJbFg@mail.gmail.com> <20170814223357.i45ghd3pkcvypacy@alap3.anarazel.de>

* 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