Re: cast bytea to text

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: "Willy-Bas Loos" <willybas(at)gmail(dot)com>
Subject: Re: cast bytea to text
Date: 2007-03-01 14:09:27
Message-ID: 200703011509.28253.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Willy-Bas Loos wrote:
> How can i cast bytea to text?
> I´ve read about the DECODE function, but my 8.1 backend doesn´t
> recognize it.

You want to use encode() in that direction.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Timasmith 2007-03-01 14:16:02 Can I getting a unique ID from a select
Previous Message Magnus Hagander 2007-03-01 13:50:10 Re: [HACKERS] urgent: upgraded to 8.2, getting kernel panics