Re: How to get value of 'Param' of the WHERE clause in the FDW? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: How to get value of 'Param' of the WHERE clause in the FDW?
Date
Msg-id 17474.1443207298@sss.pgh.pa.us
Whole thread Raw
In response to Re: How to get value of 'Param' of the WHERE clause in the FDW?  (Dmitry Chichkov <dchichkov@gmail.com>)
Responses Re: How to get value of 'Param' of the WHERE clause in the FDW?  (Dmitry Chichkov <dchichkov@gmail.com>)
List pgsql-hackers
Dmitry Chichkov <dchichkov@gmail.com> writes:
> Thank you for the reply!  I'm trying to get the correct value and I need it
> at the execution stage.  I just don't see how to get baserestrictinfo in
> the execution stage or if the 'abc123' value would be there at all...

Hm?  At execution, you'd just evaluate whatever the expression is.
The planner constructs don't have much to do with that, and certainly
a Param should not be a special case in any way.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: upcoming infrastructure changes/OS upgrades on *.postgresql.org
Next
From: Peter Geoghegan
Date:
Subject: Re: Less than ideal error reporting in pg_stat_statements