Binary bytea to literal strings

From: Dragan Zubac <zubac(at)vlayko(dot)tv>
To: pgsql-general(at)postgresql(dot)org
Subject: Binary bytea to literal strings
Date: 2008-04-17 02:57:12
Message-ID: 4806BC88.9070105@vlayko.tv
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello

Got one table:

Column | Type | Modifiers
---------+---------+-----------------------------------------------
message | bytea |

insert data like for example:

insert into zub (message) values (E'\004\065 Ciao');

is it possible to somehow get the following:

0x040x35 Ciao

Sincerely

Dragan

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2008-04-17 03:17:29 Re: table as log (multiple writers and readers)
Previous Message Craig Ringer 2008-04-17 01:43:05 Re: table as log (multiple writers and readers)