On Tue, May 18, 2021 at 3:00 PM Paul A Jungwirth <p...@illuminatedcomputing.com> wrote: > > I suspect I'm missing something in the > analyze/rewriting phase, because I get this error: > > ERROR: no value found for parameter 1 > . . . > > I was hoping that transformExpr would do everything I need re > identifying parameters, but maybe there is something else in a later > phase?
Never mind, I think I figured it out. The problem was that I was calling ExecEvalExpr with CreateStandaloneExprContext(), and I should have been using the context from the query. Thanks! Paul