X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id D0C0CD1B4F0 for ; Sat, 4 Oct 2003 23:39:40 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 06924-06 for ; Sat, 4 Oct 2003 20:38:56 -0300 (ADT) Received: from sd.tpf.co.jp (unknown [210.161.239.34]) by svr1.postgresql.org (Postfix) with SMTP id 95764D1B4E5 for ; Sat, 4 Oct 2003 20:38:52 -0300 (ADT) Received: (qmail 23068 invoked from network); 5 Oct 2003 08:38:53 +0900 X-Authentication: inoue was authenticated by tpf.co.jp at 5 Oct 2003 08:38:53 +0900 Received: from unknown (HELO PbgX) (219.61.40.61) by tpf.co.jp with SMTP; 5 Oct 2003 08:38:53 +0900 From: "Hiroshi Inoue" To: "'Xavier Le Vourch'" Cc: Subject: Re: Large objects truncated when retrieved Date: Sun, 5 Oct 2003 08:38:52 +0900 Message-ID: <016e01c38ad0$ab2c6570$3d283ddb@PbgX> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <3F7F543F.8050807@brittanysoftware.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/32 X-Sequence-Number: 3345 > -----Original Message----- > From: Xavier Le Vourch > > Hiroshi Inoue wrote: > > >>-----Original Message----- > >>From: Xavier Le Vourch > >>Sent: Saturday, October 04, 2003 3:48 AM > >> > >>I'm storing pictures in a table using the lo type > definition from the > >>FAQ. The server version is 7.2.3 and the odbc driver is 7.3.100. > >> > >>The images are stored correctly and can be retrieved on the > >>server fine > >>using psql but the odbc driver truncates the objects at > 32k+1 on the > >>retrieve (they were stored correctly though). > > > > > > Which data type are you using to store the images ? > > I'm using the lo type defined in the FAQ at: > > > And what kind of tools are you using ? > > In most cases tools have their own limitations. > I'm using Borland C++ 6 but the problem seems to be coming from the > driver as when I enabled logging, I get messages like: > conn=67191248, query='COMMIT' > The 2th item was truncated > The buffer size = 32769 and the value is '1040924' Could you send me the Mylog debug output ? regards, Hiroshi Inoue ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster