pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Holm <Daniel.Holm@interworksinc.com>
To: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: MSSQL To PostgreSQL Via DTS
Date: Wed, 8 Mar 2006 16:27:30 -0600
Message-ID: <22CFEEFF5C5D60429D6B0572DB26625928F68D@iwsbsrv1.InterWorksok.com> (raw)

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] 
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:
> 
>  
> 
> MSSQL Error: Data for source column 1 ('textfield') is too large for
the
> specified buffer size.
> 
> or
> 
> 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



view thread (12+ messages)  latest in thread

Message-ID: <22CFEEFF5C5D60429D6B0572DB26625928F68D@iwsbsrv1.InterWorksok.com>
Permalink:  ../22CFEEFF5C5D60429D6B0572DB26625928F68D@iwsbsrv1.InterWorksok.com/
Also on:    postgresql.org/message-id/22CFEEFF5C5D60429D6B0572DB26625928F68D@iwsbsrv1.InterWorksok.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: Daniel.Holm@interworksinc.com, inoue@tpf.co.jp
  Subject: Re: MSSQL To PostgreSQL Via DTS
  In-Reply-To: <22CFEEFF5C5D60429D6B0572DB26625928F68D@iwsbsrv1.InterWorksok.com>
  References: <22CFEEFF5C5D60429D6B0572DB26625928F68D@iwsbsrv1.InterWorksok.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox