Re: Questions and experiences writing a Foreign Data Wrapper

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Heikki Linnakangas *EXTERN*" <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: "Tom Lane *EXTERN*" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Questions and experiences writing a Foreign Data Wrapper
Date: 2011-07-22 12:09:35
Message-ID: D960CB61B694CF459DCFB4B0128514C206B20EF1@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
fdw-usermapping-doc.patch application/octet-stream 2.3 KB
fdw-scan-doc.patch application/octet-stream 1.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Yeb Havinga 2011-07-22 13:13:01 Re: Parameterized aggregate subquery (was: Pull up aggregate subquery)
Previous Message Kohei KaiGai 2011-07-22 12:08:40 Re: [v9.1] sepgsql - userspace access vector cache