Received: from wallace.ece.rice.edu (wallace.ece.rice.edu [128.42.12.154]) by hub.org (8.9.3/8.9.3) with ESMTP id KAA93417 for ; Thu, 25 May 2000 10:40:54 -0400 (EDT) (envelope-from reedstrm@rice.edu) Received: by rice.edu via sendmail from stdin id (Debian Smail3.2.0.102) for pgsql-admin@postgresql.org; Thu, 25 May 2000 09:40:52 -0500 (CDT) Date: Thu, 25 May 2000 09:40:52 -0500 From: "Ross J. Reedstrom" To: joe briggs Cc: pgsql-admin@postgresql.org Subject: Re: ERROR PARSER: parse error at or before 'constraint' Message-ID: <20000525094052.B24674@rice.edu> Mail-Followup-To: joe briggs , pgsql-admin@postgresql.org References: <392C50A0.9D323CBD@cyberstorage.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0i In-Reply-To: <392C50A0.9D323CBD@cyberstorage.com>; from jbriggs@cyberstorage.com on Wed, May 24, 2000 at 05:58:56PM -0400 X-Archive-Number: 200005/27 On Wed, May 24, 2000 at 05:58:56PM -0400, joe briggs wrote: > Hello, > > When I try to import a data base from one Linux box to another ( cat > db.out | psql dbname ), I get an error: > > ERROR PARSER: parser error at or before 'constraint'. > > The source box was Linxu 6.1 with PostgreSQL 7.0 manually installed. > The target box has been the same configuration, but also a RH61 with > default PostgreSQL installation. Results are the same. RedHat 6.1 comes with PostgreSQL 6.5.3, I beleive. Ceratinly not 7.0. Grab the 7.0 RPMs, replace the 6.5.x install, and everything should work fine. Ross -- Ross J. Reedstrom, Ph.D., NSBRI Research Scientist/Programmer Computer and Information Technology Institute Rice University, 6100 S. Main St., Houston, TX 77005