Hi,
> So I'd call this an oracle_fdw bug. It needs to postpone what it's
> doing here to the first normal FDW function call in a session.
Thanks a lot for looking so quickly into this!
I've opened an issue with oracle_fdw:
https://github.com/laurenz/oracle_fdw/issues/215
Thanks,
Chris.