Re: parallel mode and parallel contexts

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: parallel mode and parallel contexts
Date: 2015-01-07 10:04:44
Message-ID: CA+U5nMK5SOgyAzQ4xtwp1y_0tnBRsuB2RhREiGQOBXLRy42zwg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 6 January 2015 at 21:37, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:

> I get it now and agree

Yes, very much.

Should we copy both the top-level frame and the current subxid?
Hot Standby links subxids directly to the top-level, so this would be similar.

If we copied both, we wouldn't need to special case the Get functions.
It would still be O(1).

> but please work some more on clarity of
> README, comments and variable naming!

Something other than "top" sounds good.

--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-01-07 13:11:12 Re: parallel mode and parallel contexts
Previous Message Marco Nenciarini 2015-01-07 10:00:54 Re: [RFC] Incremental backup v3: incremental PoC