BYTEA output presentation

From: "Peter Wang" <pwang(at)voyence(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: BYTEA output presentation
Date: 2004-07-16 20:18:13
Message-ID: 3AE153EDD5CA7B4CBA26FCDA1CBA6478403412@hermes.internal.powerupnetworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


I output the BYTEA datatype for a table in our database.
The BYTEA data look like "/031/024/001/003?/022/....".
How can I use some PostgreSQL function to remove "/" when I use select statement ?
What type of format is the BYTEA datatype? Can I output it to hexadecimal or octal format ? If you can, how ?
Or do you know any third party tool or script which can output the hexadecimal or octal format for PostgreSQL's BYTEA datatype ?
Your help is appreciated. Thank you.

Peter Wang,

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2004-07-16 20:48:43 Re: BYTEA output presentation
Previous Message Stephan Szabo 2004-07-16 19:14:38 Re: Sorting problem