Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 891A79FB802 for ; Thu, 8 Mar 2007 10:06:10 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 55551-05 for ; Thu, 8 Mar 2007 10:05:56 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by postgresql.org (Postfix) with ESMTP id D1E1A9FB6E2 for ; Thu, 8 Mar 2007 10:06:06 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so900275ugf for ; Thu, 08 Mar 2007 06:06:04 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=lpxKInxCqa8SLdmnTwIlKV3WlUNNukENLgOAWoGrYYLovmsrRhpt+nagffGC4K65CWdZye7AlKsG/AzkecHuiI9vI9OZOUuVNyMqdD0Z+jdKtfqkTSrNBsWy6iBWvhd2CkcmEJgLkbjyb6j7WiWDCaOxwpyG5Sz/F9gVLA0EPYk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=FAbyEvJmS8lLRCY+o4OOkfn5YiboPk619noMIaYizNYXUdXAMK61OO4LmhrTOV9NEZkryMAn3paQOYTko8fGOGRG4KL987x5lGqTuC+vvIGmpUGtoMP8ZNCxZtdcbXrEIiicGr/caniG72y5TJK8NzWtbyYuxMNRzlidiJmLsj0= Received: by 10.115.111.1 with SMTP id o1mr144675wam.1173362760751; Thu, 08 Mar 2007 06:06:00 -0800 (PST) Received: by 10.114.120.12 with HTTP; Thu, 8 Mar 2007 06:06:00 -0800 (PST) Message-ID: Date: Thu, 8 Mar 2007 11:06:00 -0300 From: "Brodie Thiesfield" To: pgsql-odbc@postgresql.org Subject: BLOB via ODBC MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: efd98813c0291862 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/56 X-Sequence-Number: 8734 Hi, Can someone please point me at a FAQ or basic documentation for how to read/write blob data via the postgresql ODBC driver (using C/C++)? I haven't been able to find anything using google and have basic questions on how to do it. i.e. Do I use BYTEA type in the DB? Do I use SQL_VARBINARY in the call? How do I determine the length of the data while reading? etc Regards, Brodie