Re: PostgreSql Doubt

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: aluka raju <alukaraju2894(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSql Doubt
Date: 2016-05-21 22:39:19
Message-ID: e9f404b6-206b-3e6d-70c5-e3a9f79140c9@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 05/21/2016 02:22 PM, aluka raju wrote:
> Hello,
>
> I have a data source for example in file format(xml,csv ..etc) , i want
> to use postgresql engine to query select,update,insert using foreign
> data wrappers(fdw).
>
> question1 --- > is it possible to prepare our own fdw ?.

http://www.postgresql.org/docs/9.5/static/fdwhandler.html

> question2 -----> is it possible to seperate postgresql engine and use it
> on a data source where i will write fdw to connect the postgresql engine
> and data source ?.

No.

> question3 -----> In fdw , we need to provide schema of the file ,
> suppose i will get schema of the file in a varaible and how can we use
> this variable and directly create a link between datasource and
> postgresql engine ?.

You will need to be more specific about what you mean here?

>
>
> question4 -----> is this fdw(foreign data wrapper) good to use in
> postgresql ,if so did postgresql prepaired any api kind of fdw officially ?

If I am following then the link at question 1 should address this. If I
am not you will need to be provide more information about what you are
looking for.

>
> Thanks
> aluka

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2016-05-22 00:07:29 Re: PostgreSql Doubt
Previous Message Ivan Voras 2016-05-21 21:53:27 Enhancement proposal for psql: add a column to "\di+" to show index type