From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Shigeru HANADA <hanada(at)metrosystems(dot)co(dot)jp> |
Cc: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: SQL/MED - core functionality |
Date: | 2010-12-14 02:51:40 |
Message-ID: | AANLkTik7qH3LCeNaBM7kbF3ba-YHsKcu2mBwPSFwVEck@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Dec 13, 2010 at 10:10 AM, Shigeru HANADA
<hanada(at)metrosystems(dot)co(dot)jp> wrote:
> I've revised fdw_core patch along your proposal and subsequent
> discussion, and tried to fix FDW patches pgsql_fdw and file_fdw
> according to fdw_core. Attached is a WIP which includes changes
> below.
This actually doesn't apply cleanly. There's a hunk in pg_class.h
that is failing.
I think attgenoptions is a poor choice of name for the concept it
represents. Surely it should be attfdwoptions. But I am wondering
whether we could actually go a step further and break this
functionality off into a separate patch. Do file_fdw and/or
postgresql_fdw require column-level FDW options? If not, splitting
this part out looks like it would be a fairly significant
simplification for v1
Along similar lines, I think we could simplify the first version of
this considerably by removing all the support for constraints on
foreign tables. It might be useful to have that some day, but in the
interest of whittling this down to a manageable size, it seems like we
could easily do without that for starters.
On the other hand, I don't really see any advantage to allowing rules
on foreign tables - ever. Unless there's some reason we really need
that, my gut feeling would be to rip it out and forget about it.
The docs should avoid cut-and-pasting large quantities of the existing
docs. Instead, they should refer to the existing material.
Copyright notice for new files should go through 2010, not 2009.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Itagaki Takahiro | 2010-12-14 03:01:36 | Re: SQL/MED - file_fdw |
Previous Message | Tom Lane | 2010-12-14 02:51:00 | Re: pg_execute_from_file, patch v10 |