Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> Is there any fundamental or philosophical reason why a foreign table
> can't accept arguments?
That isn't a table; it's some sort of function. Now that we have
LATERAL, there is no good reason to contort SQL's syntax and semantics
in the direction you suggest.
regards, tom lane