Re: How to store Byte strings into a table. - Mailing list pgsql-sql

From Sergey Konoplev
Subject Re: How to store Byte strings into a table.
Date
Msg-id AANLkTimrNwHbiZmKWEO2oHtdE1z3l_onLAZW8oA5XkZX@mail.gmail.com
Whole thread Raw
In response to How to store Byte strings into a table.  (Trinath Somanchi <trinath.somanchi@gmail.com>)
List pgsql-sql
On 5 July 2010 09:57, Trinath Somanchi <trinath.somanchi@gmail.com> wrote:
> Hi,
>
> How can I store Byte strings into a postgresql database.
>
> Is there any special command to store it. How will be the sql query.
>
> I have gone through this
> http://www.postgresql.org/docs/8.4/static/datatype-binary.html but have not
> seen any example for how to insert data into such a field.

Use octet-escaping to form the string to put in your SQL like it
described it the article you referenced.

>
> Please help me in this regard.
>
>
> --
> Regards,
> ----------------------------------------------
> Trinath Somanchi,
>



-- 
Sergey Konoplev

Blog: http://gray-hemp.blogspot.com /
Linkedin: http://ru.linkedin.com/in/grayhemp /
JID/GTalk: gray.ru@gmail.com / Skype: gray-hemp / ICQ: 29353802


pgsql-sql by date:

Previous
From: Pavel Stehule
Date:
Subject: Re:
Next
From: silly sad
Date:
Subject: Re: