Re: Binary data in bytea field

From: Iklódi Lajos <il(at)mithrandir(dot)hu>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Binary data in bytea field
Date: 2002-03-23 23:18:23
Message-ID: 3C9D0D3F.68EF7CD@mithrandir.hu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> 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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Joe Conway 2002-03-23 23:27:06 Re: Binary data in bytea field
Previous Message Joe Conway 2002-03-23 18:48:48 Re: Binary data in bytea field