problems with dbf-files
problems with dbf-files
От:
Ladislav Jirsa <jirsa@utia.cas.cz>
Дата:
Hello! I run postgreSQL-7.2 on RedHat Linux 7.2, kernel 2.4. I want to import and export dbf-tables in and from postgres. I found pg2xbase library that requires xbase library. After installation, the conversion does not work (segmentation fault, exports empty tables, distortion of numeric fields in import). My questions are: 1) Did I overlook any switch or parameter to ./configure the postgres? 2) The pg2xbase recommends the xbase-1.8.1 which I cannot find. I use xbase-2.0.0. Too many zeros, can it be a problem? Can I get xbase-1.8.1. somewhere? 3) Does anybody know a better (more stable...) way of import/export of dbf-tables? Thank you for any tips. Ladislav Jirsa
Re: problems with dbf-files
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Ladislav Jirsa wrote: > Hello! > > I run postgreSQL-7.2 on RedHat Linux 7.2, kernel 2.4. I want to import and > export dbf-tables in and from postgres. I found pg2xbase library that > requires xbase library. After installation, the conversion does not work > (segmentation fault, exports empty tables, distortion of numeric fields in > import). My questions are: > > 1) Did I overlook any switch or parameter to ./configure the postgres? > 2) The pg2xbase recommends the xbase-1.8.1 which I cannot find. I use > xbase-2.0.0. Too many zeros, can it be a problem? Can I get xbase-1.8.1. > somewhere? > 3) Does anybody know a better (more stable...) way of import/export of > dbf-tables? Please try /contrib/dbase in the PostgreSQL sources. That should work, or at least it has in the past. Please report back any problems. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026