Skip site navigation (1) Skip section navigation (2)

Re: Data Migration Wizard & FoxPro memo questio

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: "'phaddon(at)hartingdale(dot)com(dot)au'" <phaddon(at)hartingdale(dot)com(dot)au>
Cc: "'pgadmin-support(at)postgresql(dot)org'" <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Data Migration Wizard & FoxPro memo questio
Date: 2002-03-11 11:14:18
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-support

> -----Original Message-----
> From: Paul Haddon [mailto:paullist(at)hartingdale(dot)com(dot)au] 
> Sent: 11 March 2002 00:12
> To: Dave Page
> Subject: Re: [pgadmin-support] Data Migration Wizard & FoxPro 
> memo question
> > No, this is not normal - text fields should work fine. Do 
> you have a 
> > sample (or can you create one) of your database that you 
> can send me 
> > for testing?
> I've attached a test database (foxtest.dbf) with memo file 
> (foxtest.fpt). Also attached is the log file created by pgAdmin.
> The field not working is 'a_memo'. The 'create table' creates 
> it as a text-type, but doesn't copy the data with it.


I've just spent some time playing with this in the debugger, and it seems
that there is something odd about the Foxpro ODBC driver. Basically, the
second time a LongVarChar column is accessed, it's value gets set NULL.

Anyway, I've committed a fix to CVS to work around this - if you're happy to
use development code, you can get the updated binaries from (I'd suggest using the
'Download Tarball' link).

To install them, use the following procedure:

1) Backup your system.
2) From the tarball, copy the .ocx, .dll's and .exe over the existing copies
which are 
   normally installed under one of the following directories:

     C:\Program files\pgAdmin2
     C:\Program files\pgAdmin2\Exporters
     C:\Program files\pgAdmin2\Plugins

3) From the Start -> Run box, for each file you installed run a command
similar to:

   regsvr32 "C:\Program Files\pgAdmin2\<filename>"

   NOTE: pgSchema.dll must be registered first.

Regards, Dave.

pgadmin-support by date

Next:From: Masse JacquesDate: 2002-03-11 14:44:08
Previous:From: Tim Finch, FosterFinch LtdDate: 2002-03-08 11:04:02
Subject: Re: Can not connect with PG Admin after

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group