Dmitry Chichkov <dchich...@gmail.com> writes: > Evaluate via ExecEvalExpr, right?
Yeah. > And sorry for a beginner question, > what do I need to do to get that Expr from ForeignScanState? Is it > accessible at all in old 9.1 API? I think you're out of luck before 9.2. There's no provision for expressions to be executed by the FDW itself in 9.1. And you can't really work around that behind the planner's back, because if you put an expression into your private fdw state, it won't get adjusted properly during setrefs.c cleanup. 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