Re: Apparently deprecated code in planner.c

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net>
Cc: pg-dev <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Apparently deprecated code in planner.c
Date: 2016-01-11 02:32:02
Message-ID: CA+Tgmob=VxBEcN8YY1YrswKLboAU8dpa7bBOrNSDCqHmzYkBGQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jan 10, 2016 at 5:28 PM, Dickson S. Guedes <listas(at)guedesoft(dot)net> wrote:
> Hi all,
>
> I'm wondering whether the #ifdef FORCE_PARALLEL_MODE code [1] was deprecated:
>
> *
> * FIXME: It's assumed that code further down will set parallelModeNeeded
> * to true if a parallel path is actually chosen. Since the core
> * parallelism code isn't committed yet, this currently never happens.
> */
> #ifdef FORCE_PARALLEL_MODE
> glob->parallelModeNeeded = glob->parallelModeOK;
> #else
> glob->parallelModeNeeded = false;
> #endif

That comment is obsolete, but defining FORCE_PARALLEL_MODE is still a
useful thing to do for testing purposes.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2016-01-11 03:16:23 Re: POC, WIP: OR-clause support for indexes
Previous Message Robert Haas 2016-01-11 02:19:00 Re: No Issue Tracker - Say it Ain't So!