Re: how to store whole XML file in database - Mailing list pgsql-general

From Tommy Gildseth
Subject Re: how to store whole XML file in database
Date
Msg-id 45D0AD70.8060403@gildseth.com
Whole thread Raw
In response to how to store whole XML file in database  ("deepak pal" <deepak.05pal@gmail.com>)
List pgsql-general
deepak pal wrote:
> hi,,
>        i have to insert whole xml file in database ,there is a text
> field for that.but it shows error  parse error where there are
> attribute ..plz help me out.

I'm guessing you have a quoting problem. Try escaping the XML-data
before inserting it into the database, so that any single quotes doesn't
mess up your insert statements.

--
Tommy

pgsql-general by date:

Previous
From: "Nicolas Gignac"
Date:
Subject: Re: Client connection: Port 5432 / Postgres
Next
From: "Brandon Aiken"
Date:
Subject: Re: how to store whole XML file in database