From: Iklódi Lajos <il@mithrandir.hu>
To: Joe Conway <mail@joeconway.com>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: Binary data in bytea field
Date: Sun, 24 Mar 2002 00:18:23 +0100
Message-ID: <3C9D0D3F.68EF7CD@mithrandir.hu> (raw)
References: <3C9CC6CE.B269A510@mithrandir.hu>
<3C9CCE10.3090703@joeconway.com>
> Iklódi Lajos wrote:
> > 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
> >
>
> Sure -- just use a binary cursor.
>
> HTH,
>
> Joe
Thanks, really it is in docs.
How can I make binary updates?
Lajos
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, mail@joeconway.com
Subject: Re: Binary data in bytea field
In-Reply-To: <3C9D0D3F.68EF7CD@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