Re: howto escape my string - Mailing list pgsql-general

From Brian Modra
Subject Re: howto escape my string
Date
Msg-id 5a9699850911242114ic468fe8ofa34bd222ca6869@mail.gmail.com
Whole thread Raw
In response to howto escape my string  ("Jean-Yves F. Barbier" <12ukwn@gmail.com>)
Responses Re: howto escape my string
List pgsql-general
2009/11/24 Jean-Yves F. Barbier <12ukwn@gmail.com>:
> Hi list,
>
> I'm using Gambas to access a PG DB (only through views and functions)
> and I can't find a way to escape my string to fit into a BYTEA field;
> does anybody have an idea about this?

I can't help you with Gambas, but if you are asking how to escape a
string for bytea, its documented here:
http://www.postgresql.org/docs/8.4/interactive/datatype-binary.html

>
> JY
> --
> Don't drop acid -- take it pass/fail.
>                -- Seen in a Ladies' Room at Harvard
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>



--
Brian Modra   Land line: +27 23 5411 462
Mobile: +27 79 69 77 082
5 Jan Louw Str, Prince Albert, 6930
Postal: P.O. Box 2, Prince Albert 6930
South Africa
http://www.zwartberg.com/

pgsql-general by date:

Previous
From: Greg Smith
Date:
Subject: Re: which software to replicate a database on windows xp/vista is the best???
Next
From: Sam Jas
Date:
Subject: Re: Processing Delay