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 15:34:13
Message-ID: CA+U5nM+PAprPg54yPkZMOrX5xoM_u48x+yLwMvKz+XCSoxEB=Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 7 January 2015 at 13:11, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Tue, Jan 6, 2015 at 4:37 PM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
>> So when you say "Only the top frame of the transaction state stack is
>> copied" you don't mean the top, you mean the bottom (the latest
>> subxact)? Which then becomes the top in the parallel worker? OK...
>
> The item most recently added to the stack is properly called the top,
> but I guess it's confusing in this case because the item on the bottom
> of the stack is referred to as the TopTransaction. I'll see if I can
> rephrase that.

Yes, I didn't mean to suggest the confusion was introduced by you -
it's just you stepped into the mess by correctly using the word top in
a place where its meaning would be opposite to the close-by usage of
TopTransaction.

Anyway, feeling good about this now. Thanks for your patience.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aaron Botsis 2015-01-07 15:37:58 Re: Patch: [BUGS] BUG #12320: json parsing with embedded double quotes
Previous Message Alvaro Herrera 2015-01-07 15:33:20 Re: [RFC] LSN Map