Re: SQL/MED - file_fdw
От | Andrew Dunstan |
---|---|
Тема | Re: SQL/MED - file_fdw |
Дата | |
Msg-id | 4CFABFA4.9080500@dunslane.net обсуждение исходный текст |
Ответ на | SQL/MED - file_fdw (Shigeru HANADA <hanada@metrosystems.co.jp>) |
Ответы |
Re: SQL/MED - file_fdw
|
Список | pgsql-hackers |
On 11/25/2010 03:12 AM, Shigeru HANADA wrote: > Hi, hackers, > > Attached is a patch that adds file_fdw, FDW which reads records from > files on the server side, as a contrib module. This patch is based on > "SQL/MED core functionality" patch. > > [SQL/MED - core functionality] > http://archives.postgresql.org/pgsql-hackers/2010-11/msg01698.php > > File_fdw can be installed with the steps similar to other contrib > modules, and you can create FDW with the script: > $SHAREDIR/contrib/file_fdw.sql > Note that you need to create file_fdw for each database. > > Document for file_fdw is included in the patch, although the contents > might not be enough. > > Any comments and questions are welcome. Looking at file_parser.c, it seems to be largely taken from copy.c. Wouldn't it be better to call those functions, or refactor them so they are callable if necessary? cheers andrew
В списке pgsql-hackers по дате отправления: