X-Original-To: pgsql-bugs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2A703D1E751; Thu, 29 Apr 2004 17:00:48 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 53115-04; Thu, 29 Apr 2004 17:00:29 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id CFAFED1E5C5; Thu, 29 Apr 2004 17:00:26 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i3TK0R8F016169; Thu, 29 Apr 2004 16:00:28 -0400 (EDT) To: JC Jan Christensen Cc: "'jason@tishler.net'" , "'pgsql-cygwin@postgresql.org'" , "'pgsql-bugs@postgresql.org'" Subject: Re: [ADMIN] INITDB-error - end-of-copy marker error In-reply-to: <519590683F85D311A7C200105A4CFA334AF6A9@mailserver.riva-systems.dk> References: <519590683F85D311A7C200105A4CFA334AF6A9@mailserver.riva-systems.dk> Comments: In-reply-to JC Jan Christensen message dated "Thu, 22 Apr 2004 17:16:42 +0200" Date: Thu, 29 Apr 2004 16:00:27 -0400 Message-ID: <16168.1083268827@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/117 X-Sequence-Number: 8266 JC Jan Christensen writes: > creating system views....ok > loading pg_description...ERROR: end-of-copy marker does > not match previous newline style > CONTEXT: COPY tmp_pg_description, line 1542: "" > initdb: failed I was about to say I thought we'd fixed that in 7.4.2 ... but on inspection it seems only one of the two uses of COPY got fixed :-(. Try the attached patch. regards, tom lane Index: initdb.sh =================================================================== RCS file: /cvsroot/pgsql-server/src/bin/initdb/initdb.sh,v retrieving revision 1.204.2.1 retrieving revision 1.204.2.2 diff -c -r1.204.2.1 -r1.204.2.2 *** initdb.sh 14 Jan 2004 03:47:12 -0000 1.204.2.1 --- initdb.sh 29 Apr 2004 19:56:35 -0000 1.204.2.2 *************** *** 1043,1053 **** classname name, \ objsubid int4, \ description text) WITHOUT OIDS; ! COPY tmp_pg_description FROM STDIN; ! EOF ! cat "$POSTGRES_DESCR" ! cat <