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 B167DD1B4FB for ; Fri, 3 Oct 2003 18:48:48 +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 11461-08 for ; Fri, 3 Oct 2003 15:48:01 -0300 (ADT) Received: from brehat.brittanysoftware.com (unknown [207.44.182.78]) by svr1.postgresql.org (Postfix) with ESMTP id 6B55DD1B515 for ; Fri, 3 Oct 2003 15:47:59 -0300 (ADT) Received: from brittanysoftware.com (250-137.adsl1.netlojix.net [207.71.250.137]) (authenticated (0 bits)) by brehat.brittanysoftware.com (8.11.6/8.11.6) with ESMTP id h93Ilx318701 for ; Fri, 3 Oct 2003 11:47:59 -0700 Message-ID: <3F7DC445.5050806@brittanysoftware.com> Date: Fri, 03 Oct 2003 11:47:33 -0700 From: Xavier Le Vourch Organization: Brittany Software, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Large objects truncated when retrieved X-Enigmail-Version: 0.81.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/29 X-Sequence-Number: 3342 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). I've tried to increase the MaxLongVarChar setting in the datasource definition or even set it to -4, according to the HOWTO describing the configuration options but nothing works. What is the correct way to increase the limit on large objects in the odbc driver? Thanks, Xavier -- Xavier Le Vourch Brittany Software, Inc. PGP Key: http://brittanysoftware.com/gpg_key.asc