Re: ParallelContexts can get confused about which worker is which

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ParallelContexts can get confused about which worker is which
Date: 2015-11-03 14:55:33
Message-ID: CA+TgmoZzv3u9trsvcAO+-OtXbsz_u+A5Q8X-_B+VZceHhtzTmA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Nov 2, 2015 at 4:13 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Sun, Nov 1, 2015 at 1:11 AM, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>> If we are going to add a new parameter to BackgroundWorker structure,
>> then the same needs to be updated in docs [1] as well.
>
> Right, good point.

Here's an updated patch with documentation added and two bugs fixed.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment Content-Type Size
fix-worker-index-confusion-v2.patch text/x-diff 5.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-11-03 15:00:06 Re: shm_mq fix for non-blocking mode
Previous Message Merlin Moncure 2015-11-03 14:44:20 Re: Request: pg_cancel_backend variant that handles 'idle in transaction' sessions