Robert Haas <robertmh...@gmail.com> writes: > I think the core system likely needs visibility into where paths and > plans are present in node trees, and putting them somewhere inside > fdw_private would be going in the opposite direction.
Absolutely. You don't really want FDWs having to take responsibility for setrefs.c processing of their node trees, for example. This is why e.g. ForeignScan has both fdw_exprs and fdw_private. I'm not too concerned about whether we have to adjust FDW-related APIs as we go along. It's been clear from the beginning that we'd have to do that, and we are nowhere near a point where we should promise that we're done doing so. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers