Re: Import SVG file - Mailing list pgsql-general

From Richard Huxton
Subject Re: Import SVG file
Date
Msg-id 41FA0246.8040107@archonet.com
Whole thread Raw
In response to Import SVG file  (Miguel Angel Tribaldos Hervas <mitriher@teleco.upv.es>)
List pgsql-general
Miguel Angel Tribaldos Hervas wrote:
> Hi,
>
> how can I import a SVG file to a row?? The main problem is that it has many
> postgres scape symbols. Can I utilize the
> 'text' type for that?
> Have I to do some byte-stuffing before the import?

If you want to create a text-file with a COPY or INSERT statement and
then use psql -f ... you'll need to perform the usual escaping. If
you're going via Perl's DBI or similar you can let it handle those
details for you. Do you have a client system in mind?

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Miguel Angel Tribaldos Hervas
Date:
Subject: Import SVG file
Next
From: manfred
Date:
Subject: Re: convert mdb files to pg?