On Mon, May 23, 2016 at 1:52 AM, aluka raju <alukaraju2...@gmail.com> wrote:
I have data storage in flat files (structured and unstructured) . I want to
run sql queries on that , so i am looking in to postgresql how to use fdw
on the data that i have.


You could use the file_fdw to "attach" the files as foreign tables. At
least for the structured ones (CSV, delimited). As noted by other replies,
this won't be efficient, but if you are doing analytics against all the
data in the file or just scanning the data 1 time this works well:

http://www.postgresql.org/docs/current/static/file-fdw.html

Reply via email to