Re: SQL/MED - core functionality - Mailing list pgsql-hackers

From Shigeru HANADA
Subject Re: SQL/MED - core functionality
Date
Msg-id 20101215222541.5E4A.6989961C@metrosystems.co.jp
Whole thread Raw
In response to SQL/MED - core functionality  (Shigeru HANADA <hanada@metrosystems.co.jp>)
Responses Re: SQL/MED - core functionality
Re: SQL/MED - core functionality
List pgsql-hackers
Hi hackers,

Attached are revised version of SQL/MED core functionality patches.

In order to make review easier, fdw_core patch has been split into
two parts, fdw_syntax and fdw_scan.  Please apply fdw_scan onto
fdw_syntax to test whole features.

The fdw_syntax.patch includes:

1) syntax for FOREIGN TABLE and FDW HANDLER
   # RULE, DEFAULT, and column level generic option are excluded to
   # make the patch simple.  But NOT NULL constraint is included
   # because it is required to inherit a table with NOT NULL
   # constraint.
2) modified catalogs, pg_foreign_table and pg_foreign_data_wrapper
3) documentation about the syntax (maybe need enhancement, though)
4) regression tests for the syntax
5) psql and pg_dump support for foreign tables and FDWs (handler)

And the fdw_scan.patch includes:

1) FDW API definition
2) ForeignScan executor node
3) Planner hook and Executor hooks
4) EXPLAIN support (included because it would effect to FdwPlan)

Note that executing SELECT and EXPLAIN statement requires FDW with
HANDLER, such as file_fdw and pgsql_fdw.  New version of file_fdw will
be posted in another thread "SQL/MED - file_fdw" soon.

Regards,
--
Shigeru Hanada

Attachment

pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)
Next
From: Shigeru HANADA
Date:
Subject: Re: SQL/MED - file_fdw