X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 8AC829DCC60 for ; Wed, 1 Mar 2006 03:59:29 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 25910-02 for ; Wed, 1 Mar 2006 03:59:29 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by postgresql.org (Postfix) with ESMTP id 2C78E9DCC10 for ; Wed, 1 Mar 2006 03:59:26 -0400 (AST) Received: from soptik.pzkagis.cz (localhost.localdomain [127.0.0.1]) by smtp.pzkagis.cz (8.13.1/8.13.1) with ESMTP id k217xMvP004348; Wed, 1 Mar 2006 08:59:22 +0100 Received: (from luf@localhost) by soptik.pzkagis.cz (8.13.1/8.13.1/Submit) id k217xMcE004347; Wed, 1 Mar 2006 08:59:22 +0100 Date: Wed, 1 Mar 2006 08:59:22 +0100 From: Ludek Finstrle To: Daniel Holm Cc: pgsql-odbc@postgresql.org Subject: Re: pgsql ODBC 8.1.200 MSSQL Migration Errors Message-ID: <20060301075922.GA4301@soptik.pzkagis.cz> References: <22CFEEFF5C5D60429D6B0572DB26625928F3B0@iwsbsrv1.InterWorksok.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <22CFEEFF5C5D60429D6B0572DB26625928F3B0@iwsbsrv1.InterWorksok.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: ClamAV 0.88/1306/Tue Feb 28 10:50:04 2006 on smtp.pzkagis.cz X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.094 required=5 tests=[AWL=0.094] X-Spam-Score: 0.094 X-Spam-Level: X-Archive-Number: 200603/1 X-Sequence-Number: 7287 > I am converting a MS SQL 2000 (SP3) database over to PostgreSQL 8.1 > using the latest ODBC driver (08.01.0200). I am using a DTS package in > SQL server to copy the data over, but I have a table with a "Text" > column, and the largest piece of data is 220,843 bytes. > > Searching through the list, I saw to uncheck the "Text as LongVarChar" > option, I tried this, but received the same error for every row over > 1,278 bytes, strange. If you uncheck it the Text is VarChar (smaller than LongVarChar). > I reset "Text as LongVarChar" to true, then bumped up the size of Max > LongVarChar from 8,190 to 32,000. This actually worked for every row > over 32,000 bytes, progress! > > Next, when I set size of "Max LongVarChar" to 225,000 bytes, I receive > the same error for rows over around 30,000 bytes, strange again. > > If I bump it up further to 230,000 bytes, every row fails with the > error: > Query-based insertion or updating of BLOB values is not supported. > It also looks like it was unable to allocate proper memory and is > pulling garbage data from somewhere for every row. > > Does anyone have any ideas? Could you post mylog outputs for this three situations? It would be better if you try it with max 2 rows (it results in smaller mylog). Regards, Luf