Re: [ADMIN] INITDB-error - end-of-copy marker error

From: Jason Tishler <jason(at)tishler(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: JC Jan Christensen <jan(dot)christensen(at)riva-systems(dot)dk>, "'pgsql-cygwin(at)postgresql(dot)org'" <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: [ADMIN] INITDB-error - end-of-copy marker error
Date: 2004-06-11 15:24:19
Message-ID: 20040611152418.GB1960@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-bugs pgsql-cygwin

Tom,

On Thu, Apr 29, 2004 at 04:00:27PM -0400, Tom Lane wrote:
> JC Jan Christensen <jan(dot)christensen(at)riva-systems(dot)dk> 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.

I did not experience the above problem even without your patch. My WAG
is that the user has configured their Cygwin setup to use text instead
of binary mode mounts.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2004-06-11 16:23:40 Re: Calculating size of the database tables
Previous Message Gaetano Mendola 2004-06-11 14:57:35 Re: PostgreSQL Performance

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2004-06-11 17:33:10 Re: Bug in ECPG preprocessor
Previous Message Christian van der Leeden 2004-06-11 09:10:50 Re: A memory leak. Postgres 7.4. Mac OS. X Server

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2004-06-11 15:26:26 Updated Cygwin Package: postgresql-7.4.2-1
Previous Message Jason Tishler 2004-06-11 15:19:57 Updated Cygwin Package: postgresql-7.4.2-1