Re: review: FDW API
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Shigeru HANADA <hanada@metrosystems.co.jp>, Jan Urbański <wulczer@wulczer.org>, Postgres - Hackers <pgsql-hackers@postgresql.org>
Date: 2011-01-21T22:20:20Z
Lists: pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes: > Some quick comments on that: > * I wonder if CREATE FOREIGN DATA WRAPPER should automatically create > the handler function, if it doesn't exist yet. That's what CREATE > LANGUAGE does, which is similar. Although it doesn't seem to be > documented for CREATE LANGUAGE either, is it deprecated? Doing that would require the equivalent of pg_pltemplate for FDWs, no? I think we're a long way from wanting to do that. Also, it seems to me that add-on FDWs are likely to end up getting packaged as extensions, so the extension machinery will probably render the question moot pretty soon. regards, tom lane