Received: from joeconway.com (unknown [63.210.180.150]) by postgresql.org (Postfix) with ESMTP id 0FF8A475450 for ; Sat, 23 Mar 2002 13:48:44 -0500 (EST) Received: from [192.168.5.2] (account jconway HELO joeconway.com) by joeconway.com (CommuniGate Pro SMTP 3.5.6) with ESMTP-TLS id 300276; Sat, 23 Mar 2002 10:43:49 -0800 Message-ID: <3C9CCE10.3090703@joeconway.com> Date: Sat, 23 Mar 2002 10:48:48 -0800 From: Joe Conway User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-2?Q?Ikl=F3di_Lajos?= Cc: "pgsql-sql@postgresql.org" Subject: Re: Binary data in bytea field References: <3C9CC6CE.B269A510@mithrandir.hu> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Archive-Number: 200203/295 X-Sequence-Number: 7174 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