pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Wang <pwang@voyence.com>
To: pgsql-sql@postgresql.org
Subject: BYTEA output presentation
Date: Fri, 16 Jul 2004 15:18:13 -0500
Message-ID: <3AE153EDD5CA7B4CBA26FCDA1CBA6478403412@hermes.internal.powerupnetworks.com> (raw)


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,



view thread (2+ messages)  latest in thread

Message-ID: <3AE153EDD5CA7B4CBA26FCDA1CBA6478403412@hermes.internal.powerupnetworks.com>
Permalink:  ../3AE153EDD5CA7B4CBA26FCDA1CBA6478403412@hermes.internal.powerupnetworks.com/
Also on:    postgresql.org/message-id/3AE153EDD5CA7B4CBA26FCDA1CBA6478403412@hermes.internal.powerupnetworks.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: pwang@voyence.com
  Subject: Re: BYTEA output presentation
  In-Reply-To: <3AE153EDD5CA7B4CBA26FCDA1CBA6478403412@hermes.internal.powerupnetworks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox