Planner hints in Postgresql

From: Rajmohan C <csrajmohan(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Planner hints in Postgresql
Date: 2014-03-17 15:52:21
Message-ID: CAHaqV0jD3+g-jyGUJneyHodPq_fJNHZvoa6BD3Vmm+vLYk2f6w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I am implementing Planner hints in Postgresql to force the optimizer to
select a particular plan for a query on request from sql input. I am having
trouble in modifying the planner code. I want to create a path node of hint
plan and make it the plan to be used by executor. How do I enforce this ?
Should I create a new Plan for this ..how to create a plan node which can
be then given directly to executor for a particular query?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Atri Sharma 2014-03-17 15:55:41 Re: Planner hints in Postgresql
Previous Message Tom Lane 2014-03-17 15:35:03 Re: HEAD seems to generate larger WAL regarding GIN index