Re: SQL/MED - file_fdw - Mailing list pgsql-hackers

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

Attached is the revised WIP version of file_fdw patch.  This patch
should be applied after both of fdw_syntax and fdw_scan patches, which
have been posted to another thread "SQL/MED - core functionality".

In this version, file_fdw consists of two parts, file_fdw core part
and copy of COPY FROM codes as they were in last version.  The reason
of this form is to make it possible to test actual SELECT statement
ASAP.  I'll revise file_fdw again according to Itagaki-san's
export-copy-routines patch.

Note that this version of file_fdw doesn't support force_not_null
option because column-level generic option is not supported by current
fdw_syntax.  It will be available if column-level generic option is
implemented.

And, as possible implementation of FDW-specific EXPLAIN information,
EXPLAIN SELECT xxx FROM file shows name and size of the file.  It
may be better to hide file information if the user was not superuser
for security reason.  If so, filename option should not appear in
output of \det psql command too.

Regards,
--
Shigeru Hanada

Attachment

pgsql-hackers by date:

Previous
From: Shigeru HANADA
Date:
Subject: Re: SQL/MED - core functionality
Next
From: David Christensen
Date:
Subject: Re: ALTER TABLE ... REPLACE WITH