Re: Wait for parallel workers to attach

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Peter Geoghegan <pg(at)bowt(dot)ie>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Subject: Re: Wait for parallel workers to attach
Date: 2018-02-01 15:39:33
Message-ID: CA+Tgmoa8kn2M=PHw8q6t67bFOUcHvmDr-WhzDcuBu0TuSXddMg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 31, 2018 at 10:08 PM, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
> I think suggesting to use this API to wait "for a specific worker"
> doesn't seem like a good idea as it doesn't have any such provision.

I see your point, but in the absence of a more specific API it could
be used that way, and it wouldn't be unreasonable. Just might wait a
little longer than absolutely necessary.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2018-02-01 15:47:26 Re: [HACKERS] Creating backup history files for backups taken from standbys
Previous Message Robert Haas 2018-02-01 15:31:40 Re: Temporary tables prevent autovacuum, leading to XID wraparound