Heikki Linnakangas wrote:
>> I guess I misunderstood the concept of user mapping.
>> I guess it is time to read my SQL Standard, but some clarification
>> in the documentation sure wouldn't hurt.
>
> Agreed, there doesn't seem to be any documentation on user mappings,
> aside from the reference page for the CREATE USER MAPPING command. The
> "5.10 Foreign Data" section should explain what user mappings are.
Want
> to give it a shot?
Sure, see the attached 'fdw-usermapping-doc.patch'.
I also include a 'fdw-scan-doc.patch' that tells FDW implementors *not*
to start the scan in BeginForeignScan.
Yours,
Laurenz Albe