Re: howto escape my string

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

Brian Modra a écrit :

The PB comes from Gambas: I think I'm gonna throw the towel and back to Python
(too bad, boa is a real piece of shit compared to gambas GUI builder :(

> 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
>>
>
>
>

--
Ankh if you love Isis.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message RD黄永卫 2009-11-25 05:56:39 How duplicate data produce when a UNIQUE index exite ?
Previous Message Sam Jas 2009-11-25 05:30:25 Re: Processing Delay