Re: SQL/MED - FDW API - Mailing list pgsql-hackers

From Shigeru HANADA
Subject Re: SQL/MED - FDW API
Date
Msg-id 20110114212358.82C7.6989961C@metrosystems.co.jp
Whole thread Raw
In response to SQL/MED - FDW API  (Shigeru HANADA <hanada@metrosystems.co.jp>)
Responses Re: SQL/MED - FDW API  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Attached are rebased version of patches for FDW API.

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) fdw_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 "20110114" version of file_fdw
wrapper patches which will be posted in another thread.

Regards,
--
Shigeru Hanada

Attachment

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [COMMITTERS] pgsql: Exit from base backups when shutdown is requested
Next
From: Simon Riggs
Date:
Subject: Re: [COMMITTERS] pgsql: Exit from base backups when shutdown is requested