Re: PostgreSql Doubt - Mailing list pgsql-general

From John R Pierce
Subject Re: PostgreSql Doubt
Date
Msg-id 651ebf08-10fe-26c3-dce8-252b35febb5b@hogranch.com
Whole thread Raw
In response to PostgreSql Doubt  (aluka raju <alukaraju2894@gmail.com>)
List pgsql-general
On 5/21/2016 2:22 PM, aluka raju wrote:

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).

updating/inserting into a CSV, XML, or whatever flat file will be very painful, it will require copying the whole file with the new/changed record in place.


I would recommend instead importing your XML/CSV/etc data into SQL table(s), do your data operations there, then export the results back as XML or whatever if you really need it that way.



-- 
john r pierce, recycling bits in santa cruz

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: PostgreSql Doubt
Next
From: "dandl"
Date:
Subject: Re: How to know if SPI or some other API triggered an ERROR.