Re: [HACKERS] Parallel tuplesort (for parallel B-Tree index creation)

From: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andres Freund <andres(at)anarazel(dot)de>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, Rushabh Lathia <rushabh(dot)lathia(at)gmail(dot)com>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Subject: Re: [HACKERS] Parallel tuplesort (for parallel B-Tree index creation)
Date: 2018-02-06 22:21:15
Message-ID: 467b6450-8274-ad2f-ce2e-188fa439a52c@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 02/06/2018 10:39 PM, Peter Geoghegan wrote:
> On Tue, Feb 6, 2018 at 1:30 PM, Tomas Vondra
> <tomas(dot)vondra(at)2ndquadrant(dot)com> wrote:
>> I have little idea what -Og exactly means. It seems to be focused on
>> debugging experience, and so still does some of the optimizations.
>
> As I understand it, -Og allows any optimization that does not hamper
> walking through code with a debugger.
>
>> Which
>> I think would explain why skink was not detecting some of the failures
>> for a long time.
>
> I think that skink didn't detect failures until now because the code
> wasn't exercised until parallel CREATE INDEX was added, simply because
> the function LogicalTapeFreeze() was never reached (though that's not
> the only reason, it is the most obvious one).
>

Maybe. What I had in mind was a different thread from November,
discussing some non-deterministic valgrind failures:

https://www.postgresql.org/message-id/flat/20171125200014(dot)qbewtip5oydqsklt%40alap3(dot)anarazel(dot)de#20171125200014(dot)qbewtip5oydqsklt(at)alap3(dot)anarazel(dot)de

But you're right that may be irrelevant here. As I said, it was mostly
just a random comment about valgrind.

regards

--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2018-02-06 22:27:47 Re: PostgreSQL crashes with SIGSEGV
Previous Message Michael Paquier 2018-02-06 22:15:46 Re: Add more information_schema columns