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

  • Follow


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 sqlloade=
r in oracle.

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

0
Reply sbangalore 9/27/2004 9:09:44 AM

On Mon, 27 Sep 2004 14:39:44 +0530, Somasekhar Bangalore
<sbangalore@zensutra.com> 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

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

0
Reply jmreymond 9/27/2004 9:12:00 AM


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.

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@postgresql.org so that your
      message can get through to the mailing list cleanly

0
Reply tsurkin 9/27/2004 9:15:45 AM

2 Replies
592 Views

(page loaded in 0.255 seconds)

Similiar Articles:













7/20/2012 5:43:22 PM


Reply: