Re: Planner hints in Postgresql - Mailing list pgsql-hackers

From Atri Sharma
Subject Re: Planner hints in Postgresql
Date
Msg-id CAOeZVifr=qsqPRtUYRj05GjVzy_FXoOSdc7o42jSKPe6OU0F3w@mail.gmail.com
Whole thread
In response to Planner hints in Postgresql  (Rajmohan C <csrajmohan@gmail.com>)
Responses Re: Planner hints in Postgresql
List pgsql-hackers



On Mon, Mar 17, 2014 at 9:22 PM, Rajmohan C <csrajmohan@gmail.com> wrote:
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?



Planner hints have been discussed a lot before as well and AFAIK there is a wiki page that says why we shouldnt implement them. Have you referred to them?

Please share if you have any new points on the same.

Regards,

Atri

pgsql-hackers by date:

Previous
From: Rajmohan C
Date:
Subject: Planner hints in Postgresql
Next
From: Heikki Linnakangas
Date:
Subject: Re: HEAD seems to generate larger WAL regarding GIN index