X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CA6B6474E44 for ; Wed, 5 Feb 2003 22:59:10 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 36C3B474E42 for ; Wed, 5 Feb 2003 22:59:10 -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 h163xD5u008976; Wed, 5 Feb 2003 22:59:13 -0500 (EST) To: Geoffrey Wossum Cc: pgsql-admin@postgresql.org Subject: Re: Problems upgrading from 7.1.3 In-reply-to: <200302051345.46421.geoffrey@pager.net> References: <200302051128.35997.geoffrey@pager.net> <28623.1044472378@sss.pgh.pa.us> <200302051345.46421.geoffrey@pager.net> Comments: In-reply-to Geoffrey Wossum message dated "Wed, 05 Feb 2003 13:45:46 -0600" Date: Wed, 05 Feb 2003 22:59:13 -0500 Message-ID: <8975.1044503953@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/71 X-Sequence-Number: 7269 Geoffrey Wossum writes: > On Wednesday 05 February 2003 01:12 pm, Tom Lane wrote: >> This smells to me like it could be a newline-formatting problem (COPY is >> pretty picky about its newlines). > [ Nope ] Drat, another perfectly good theory down the drain. > Bjoern suggested I add "-d" or "-D" to the pg_dump/pg_dumpall command line, > which worked flawlessly, although recreating the database was a bit slow. Hm. The -d business used to be a standard workaround for some known limitations of COPY, but I was of the opinion that we'd fixed the last of them as of 7.3. If you found -d necessary even with 7.3.x pg_dump then I'd like to see the details. The table definition (as dumped by pg_dump) and the first few lines of COPY data from the dump would be useful info to start with... regards, tom lane