Re: Usage of planner_ctx

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Amit Kapila <amit(dot)kapila(at)huawei(dot)com>
Cc: "'PostgreSQL-development'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Usage of planner_ctx
Date: 2012-04-24 14:11:26
Message-ID: 6110.1335276686@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Amit Kapila <amit(dot)kapila(at)huawei(dot)com> writes:
> So what is the use of having PlannerInfo->planner_ctx which only contains
> CurrentMemoryContext?

It might be clearer if you read up on the memory management in GEQO
planning mode.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-04-24 15:17:09 Re: Timsort performance, quicksort (was: Re: Memory usage during sorting)
Previous Message Andrew Dunstan 2012-04-24 14:10:24 Re: [HACKERS] Namespace of array of user defined types is confused by the parser in insert?