Received: from mail.vng.ru ([194.87.161.99]) by hub.org (8.8.8/8.8.8) with ESMTP id XAA29545 for ; Tue, 20 Oct 1998 23:21:29 -0400 (EDT) (envelope-from angg@vng.ru) Received: from mis1 (192.1.1.237 [192.1.1.237]) by mail.vng.ru with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.1960.3) id V1JQZ18G; Wed, 21 Oct 1998 09:15:30 +0500 Reply-To: "angg" From: "angg" To: Subject: [INTERFACES] C++ Builder (Delphi), ODBC and large objects Date: Wed, 21 Oct 1998 09:23:27 +0500 Message-ID: <01bdfcaa$8d15d4e0$0b02a8c0@mis1> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 David Hartwig (DH) wrote: ANGG wrote: ANGG>> 1 Does anybody use large objects with C++ Builder (Delphi), BDE, ODBC, ANGG>> PostgreSQL? DH>Yes, occasionally - without any problem. WHO?!!! Answer me, please (the problem makes me trow out half a year's work as useless garbage). DH>Have you seen DH> http://www.insightdist.com/psqlodbc/psqlodbc_faq.html#largeobjects Yes, I create large object as it reccomends create type lo ( internallength=4, externallength=10, input=int4in, output=int4out, default='', passedbyvalue ); and have all the problems I say here about. By the way, PostgreSQL's man create_type recommends another way to create the large object type: create type bigobj ( input = lo_filein, output = lo_fileout, internallength = variable ); But I have no Idea how should I implement lo_infile and lo_outfile. Can anybody tell me how, or point to the information source. Thank you, Mikhail.