Re: howto escape my string

From: Brian Modra <epailty(at)googlemail(dot)com>
To: "Jean-Yves F(dot) Barbier" <12ukwn(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: howto escape my string
Date: 2009-11-25 05:14:29
Message-ID: 5a9699850911242114ic468fe8ofa34bd222ca6869@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2009/11/24 Jean-Yves F. Barbier <12ukwn(at)gmail(dot)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(at)postgresql(dot)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/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John Oyler 2009-11-25 05:15:54 Re: Re: I need help creating a composite type with some sort of constraints.
Previous Message Greg Smith 2009-11-25 05:02:24 Re: which software to replicate a database on windows xp/vista is the best???