SQL/MED - FDW API

From: Shigeru HANADA <hanada(at)metrosystems(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: SQL/MED - FDW API
Date: 2011-01-12 12:11:22
Message-ID: 20110112211121.827B.6989961C@metrosystems.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Attached are WIP version of patches for FDW API. Basically not
changed from last version but rebased to current HEAD.

To make review easier, I split core functionality into 3 patches.
Please apply these patches in the following order.

1) fdw_handler - this patch adds HANDLER option to both syntax and
catalog of FOREIGN DATA WRAPPER.

2) foreign_scan - this patch adds following: ForeignScan executor-node,
hooks in planner and executor, and FdwRoutine (FDW API).

3) catalog_lookup - this patch adds GetForeignTable() whicch returns
ForeignTable object, similar to GetForeignDataWrapper(),
GetForeignServer(), and GetUserMapping(). This function is assumed to
be used by FDWs.

You would be able to test these patches with file_fdw wrapper which
would be posted in another thread.

Regards,
--
Shigeru Hanada

Attachment Content-Type Size
fdw_handler.patch.gz application/octet-stream 8.0 KB
foreign_scan.patch.gz application/octet-stream 11.8 KB
catalog_lookup.patch.gz application/octet-stream 948 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dan Ports 2011-01-12 12:53:22 Re: SSI and 2PC
Previous Message Pavel Stehule 2011-01-12 12:10:52 Re: multiset patch review