how to read /write xml data and insert into the postgres database

Поиск
Список
Период
Сортировка
Искать

how to read /write xml data and insert into the postgres database

От:
"Somasekhar Bangalore" <sbangalore@zensutra.com>
Дата:
Hi All,


I have another question. Can I retrieve data in XML format. Also can I read XML data and insert into the database. If So please send me an example.

My previous  question. How to load data from a text file just like sqlloader in oracle.

Thanks in advance
-Som

Re: how to read /write xml data and insert into the postgres database

От:
Jean-Max Reymond <jmreymond@gmail.com>
Дата:
On Mon, 27 Sep 2004 14:39:44 +0530, Somasekhar Bangalore
 wrote:

> 
> My previous  question. How to load data from a text file just like sqlloader in oracle.
>


COPY:
http://www.postgresql.org/docs/aw_pgsql_book/node210.html



-- 
Jean-Max Reymond
CKR Solutions
http://www.ckr-solutions.com

Re: how to read /write xml data and insert into the postgres

От:
Tsirkin Evgeny <tsurkin@mail.jct.ac.il>
Дата:
On Mon, 27 Sep 2004, Somasekhar Bangalore wrote:

> Hi All,
> 
> 
> I have another question. Can I retrieve data in XML format. Also can I read XML data and insert into the database. If So please send me an example.
> 
I dont' think so but i think you can translate the xml to format that COPY
will understand
> My previous  question. How to load data from a text file just like sqlloader in oracle.
> 

I am not sure what the sqlloader does ,but look into COPY command

> Thanks in advance
> -Som
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match
> 

-- 
Evgeny.
FAQ