Re: I know installation questions are boring ...

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alexander Jerusalem <ajeru(at)gmx(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: I know installation questions are boring ...
Date: 2000-11-17 16:58:05
Message-ID: Pine.LNX.4.21.0011171749540.789-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane writes:

> PG_VERSION should contain the 4 bytes "7.0\n". The initdb script
> creates it in what may be too simplistic a fashion:
>
> echo $version > "$PGDATA/PG_VERSION"

No, remember that this is new for 7.1. 7.0 uses

sprintf(version, "%s.%s\n", PG_RELEASE, PG_VERSION);
fd = open(full_path, O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0666);
write(fd, version, strlen(version));

which should not cause newline foul-ups.

> Of course this just begs the question of why it works for some people
> on NT and not others. Is this a difference across cygwin releases,
> perhaps?

My understanding is that this is settable by mount-point, so the confusion
is practically unsurmountable.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Larry Rosenman 2000-11-17 16:58:59 Re: Requests for Development
Previous Message Rich Shepard 2000-11-17 16:32:38 Re: Strange problem upgrading to 7.0.3x