Re: how to read bytea field

From: "Shoaib Mir" <shoaibmir(at)gmail(dot)com>
To: "marcelo Cortez" <jmdc_marcelo(at)yahoo(dot)com(dot)ar>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how to read bytea field
Date: 2007-01-24 10:12:30
Message-ID: bf54be870701240212l7e765137v93dea9a431588294@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

This might help you:

select encode(col1,'escape') from tblBytea;

where col1 is of type bytea...

-------------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 1/24/07, marcelo Cortez <jmdc_marcelo(at)yahoo(dot)com(dot)ar> wrote:
>
> folks
>
>
> help me ,i cant read bytea type field's.
> how to convert bytea to text or varchar ?
> when using bytea types?
> any clue be appreciated
> best regards
> mdc
>
>
>
>
>
>
>
> __________________________________________________
> Preguntá. Respondé. Descubrí.
> Todo lo que querías saber, y lo que ni imaginabas,
> está en Yahoo! Respuestas (Beta).
> ¡Probalo ya!
> http://www.yahoo.com.ar/respuestas
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shoaib Mir 2007-01-24 10:32:44 Re: copy schema X to schema Y in the same DB
Previous Message Clodoaldo 2007-01-24 09:57:21 Re: [1/2 OFF] Varlena.com inaccessible from .br (Blocked?)