You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Add ExplainState argument to pg_plan_query() and planner().
This allows extensions to have access to any data they've storedin the ExplainState during planning. Unfortunately, it won't helpwith EXPLAIN EXECUTE is used, but since that case is less common,this still seems like an improvement.Since planner() has quite a few arguments now, also add somedocumentation of those arguments and the return value.Author: Robert Haas <rhaas@postgresql.org>Co-authored-by: Tom Lane <tgl@sss.pgh.pa.us>Reviewed-by: Andrei Lepikhov <lepihov@gmail.com>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:http://postgr.es/m/CA+TgmoYWKHU2hKr62Toyzh-kTDEnMDeLw7gkOOnjL-TnOUq0kQ@mail.gmail.com