Received: from mx1.datanet.hu (mx1.datanet.hu [194.149.13.160]) by postgresql.org (Postfix) with ESMTP id E6790474E4B for ; Sat, 23 Mar 2002 18:17:50 -0500 (EST) Received: from mithrandir.hu (tiszaujvaros2-18.dialin.datanet.hu [195.56.11.209]) by mx1.datanet.hu (DataNet) with ESMTP id 942F4F80F; Sun, 24 Mar 2002 00:17:51 +0100 (CET) Message-ID: <3C9D0D3F.68EF7CD@mithrandir.hu> Date: Sun, 24 Mar 2002 00:18:23 +0100 From: =?iso-8859-2?Q?Ikl=F3di?= Lajos X-Mailer: Mozilla 4.51 [hu] (WinNT; I) X-Accept-Language: hu MIME-Version: 1.0 To: Joe Conway Cc: "pgsql-sql@postgresql.org" Subject: Re: Binary data in bytea field References: <3C9CC6CE.B269A510@mithrandir.hu> <3C9CCE10.3090703@joeconway.com> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Archive-Number: 200203/296 X-Sequence-Number: 7175 > 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