plan forcing in postgresql - Mailing list pgsql-novice

From Rajmohan C
Subject plan forcing in postgresql
Date
Msg-id CAHaqV0iysUVCHROFQP=DdA6RJn8k5dEk7xuv=kUJS9WMzPsG1Q@mail.gmail.com
Whole thread Raw
Responses Re: plan forcing in postgresql  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-novice
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?

pgsql-novice by date:

Previous
From: David Johnston
Date:
Subject: Re: Multiple occurence
Next
From: Merlin Moncure
Date:
Subject: Re: plan forcing in postgresql