pgsql: Add extension_state member to PlannedStmt. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Add extension_state member to PlannedStmt.
Date
Msg-id E1v6UFy-000g5l-1E@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add extension_state member to PlannedStmt.

Extensions can stash data computed at plan time into this list using
planner_shutdown_hook (or perhaps other mechanisms) and then access
it from any code that has access to the PlannedStmt (such as explain
hooks), allowing for extensible debugging and instrumentation of
plans.

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4685977cc51c91dda0f76b1ef71ba02823a57a1e

Modified Files
--------------
src/include/nodes/plannodes.h | 9 +++++++++
1 file changed, 9 insertions(+)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Add planner_setup_hook and planner_shutdown_hook.
Next
From: Tom Lane
Date:
Subject: pgsql: Cleanup NAN code in float.h, too.