pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Iklódi Lajos <il@mithrandir.hu>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Binary data in bytea field
Date: Sat, 23 Mar 2002 19:17:50 +0100
Message-ID: <3C9CC6CE.B269A510@mithrandir.hu> (raw)

I have a table with field of tyte bytea. I'm reading this table with C,
libpq.
The result is a string, with octal groups, like '\200'.
Is it possible to get data as it is, every byte in one byte?
Thanks





view thread (4+ messages)  latest in thread

Message-ID: <3C9CC6CE.B269A510@mithrandir.hu>
Permalink:  ../3C9CC6CE.B269A510@mithrandir.hu/
Also on:    postgresql.org/message-id/3C9CC6CE.B269A510@mithrandir.hu

 · 

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: il@mithrandir.hu
  Subject: Re: Binary data in bytea field
  In-Reply-To: <3C9CC6CE.B269A510@mithrandir.hu>

* 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