X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 36F96474E44 for ; Wed, 5 Feb 2003 14:13:10 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 226B6475E1F for ; Wed, 5 Feb 2003 14:13:06 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h15JCw5u028624; Wed, 5 Feb 2003 14:13:00 -0500 (EST) To: Geoffrey Wossum Cc: pgsql-admin@postgresql.org Subject: Re: Problems upgrading from 7.1.3 In-reply-to: <200302051128.35997.geoffrey@pager.net> References: <200302051128.35997.geoffrey@pager.net> Comments: In-reply-to Geoffrey Wossum message dated "Wed, 05 Feb 2003 11:28:35 -0600" Date: Wed, 05 Feb 2003 14:12:58 -0500 Message-ID: <28623.1044472378@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/64 X-Sequence-Number: 7262 Geoffrey Wossum writes: > I then took that file over to test machine running PostgreSQL 7.3.1, Er, how did you copy the file over exactly? This smells to me like it could be a newline-formatting problem (COPY is pretty picky about its newlines). If you passed the file through anything that might choose to convert Unix newlines to DOS newlines, you would have that problem. BTW, the very best way to do this sort of upgrade is to use the newer version's pg_dump (ie, 7.3.1's pg_dump) to extract data from the older server. The newer pg_dump will know how to apply any SQL compatibility adjustments that might be appropriate. I do not think that will make any difference to a COPY-data-format problem, but it could help for other things. regards, tom lane