Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id F1242475D76 for ; Wed, 20 Mar 2002 14:38:58 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g2KJcnx07798; Wed, 20 Mar 2002 14:38:49 -0500 (EST) From: Bruce Momjian Message-Id: <200203201938.g2KJcnx07798@candle.pha.pa.us> Subject: Re: problems with dbf-files In-Reply-To: To: Ladislav Jirsa Date: Wed, 20 Mar 2002 14:38:49 -0500 (EST) Cc: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL97 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200203/272 X-Sequence-Number: 3806 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