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 8BBC49DC992 for ; Wed, 8 Mar 2006 18:27:45 -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 83338-05 for ; Wed, 8 Mar 2006 18:27:45 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from iwsbsrv1.InterWorksok.com (mail.interworksok.com [205.162.236.173]) by postgresql.org (Postfix) with ESMTP id 197D99DC984 for ; Wed, 8 Mar 2006 18:27:40 -0400 (AST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: MSSQL To PostgreSQL Via DTS Date: Wed, 8 Mar 2006 16:27:30 -0600 Message-ID: <22CFEEFF5C5D60429D6B0572DB26625928F68D@iwsbsrv1.InterWorksok.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] MSSQL To PostgreSQL Via DTS thread-index: AcZCvNS1dN5GGMMRTxi5eKd37EQwUAAQWl1w From: "Daniel Holm" To: "Hiroshi Inoue" Cc: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.086 required=5 tests=[AWL=0.086] X-Spam-Score: 0.086 X-Spam-Level: X-Archive-Number: 200603/46 X-Sequence-Number: 7332 No luck with the experimental driver either, 2 rows with text fields, sizes: 80804 and 63456 bytes. Default settings on ODBC+ driver (max length 8000 or so) result in: > MSSQL Error: Data for source column 1 ('textfield') is too large for the > specified buffer size. After modifying max length, I get various errors such as catastrophic failure, a serious error occurred while connecting to the provider, provider not initialized, etc. I cant get anything to work on the ODBC driver now. I will reboot the machine and try it again later this evening. -----Original Message----- From: Hiroshi Inoue [mailto:inoue@tpf.co.jp]=20 Sent: Wednesday, March 08, 2006 8:30 AM To: Daniel Holm Cc: pgsql-odbc@postgresql.org Subject: Re: [ODBC] MSSQL To PostgreSQL Via DTS Daniel Holm wrote: > Does anyone have any advice on copying columns of data type text or > image from Microsoft SQL 2000 to Postgre? I have set the ODBC driver to > treat text as Long VarChar, and if I bump my max Long VarChar size up - > I get one of two errors: >=20 > =20 >=20 > MSSQL Error: Data for source column 1 ('textfield') is too large for the > specified buffer size. >=20 > or >=20 > MSSQL Error: Query-based insertion or updating of BLOB values is not > supported. Please try psqlODBC 07.03.0260(Experimental Enhanced Branch) at http://pgfoundry.org/projects/psqlodbc/ . regards, Hiroshi Inoue