Received: from localhost.localdomain (h246.ozemail2.ozemail.com.au [203.108.14.246]) by hub.org (8.9.3/8.9.3) with ESMTP id UAA13071 for ; Mon, 5 Jul 1999 20:17:56 -0400 (EDT) (envelope-from cbitmead@ozemail.com.au) Received: from ozemail.com.au (localhost [127.0.0.1]) by localhost.localdomain (8.9.3/8.9.3) with ESMTP id KAA13548 for ; Tue, 6 Jul 1999 10:17:57 +1000 Sender: chris@localhost.localdomain Message-ID: <37814B35.CEA20AD0@ozemail.com.au> Date: Tue, 06 Jul 1999 10:17:57 +1000 From: Chris Bitmead X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.6 i686) X-Accept-Language: en MIME-Version: 1.0 To: "'pgsql-sql@postgresql.org'" Subject: Re: [SQL] Large Objects References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit If I understand your question correctly, the answer is that lo_creat returns an oid. You need to have a column in a regular table of type oid and store this oid in there. When you query the table later you can get the oid and pass it to lo_open. "Eid, Bilal" wrote: > Again, and in short, I need to attach an object to a table using the iODBC > application and using buffer instead of file as input/output. > Is there any way to do that? I need your help and may be some example to > follow. > Please, Help me I'm running out of time.