Re: DANGER Windows version might hurt you

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Andreas" <maps(dot)on(at)gmx(dot)net>, <pgsql-general(at)postgresql(dot)org>, <pgsql-novice(at)postgresql(dot)org>
Subject: Re: DANGER Windows version might hurt you
Date: 2005-06-27 16:47:11
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE6C7716@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

> I want to warn you all that you might hurt yourself by
> banging your head against the wall or damage your karma by
> using foul language if you find your postmaster rejecting to
> work after a minor change in the postgresql.conf. (I changed
> the listenig address to an IP instead of *.) Windows can't
> start the service anymore but says the program (Postgres)
> didn't issue an error message.
> Postgres doesn't write a logfile either.

Did you check the eventlog? It's supposed to write it there..

If it didn't, what version are you on?

> Line 322 was the last one and was a comment.
> So I suspected the lines before it which looked reasonably OK, too.
>
> After trying the sensible solutions I went via the improbaple
> to the ridiculous and there it was.
> My editor strips empty lines at the end of a textfile and
> sets EOF right after the last visible character so it dumps
> the CRLF of the last line and even though it was a comment
> Postmaster complaines about a syntax error and goes on strike.
>
> This should be mentioned in the FAQ if it isn't already.

Hmm. It isn't. And it probably should, yes - or the parser should be
fixed to deal with it.

Does this affect win32 only, or unix as well? Anybody know?

//Magnus

Responses

Browse pgsql-general by date

  From Date Subject
Next Message ben.hallert 2005-06-27 17:30:38 Generate a list of (days/hours) between two dates
Previous Message Andreas 2005-06-27 16:36:28 DANGER Windows version might hurt you

Browse pgsql-novice by date

  From Date Subject
Next Message Brad Nicholson 2005-06-27 17:32:22 Re: Can I run two Postgres sessions at the same time?
Previous Message Steve Poe 2005-06-27 16:36:38 Can I run two Postgres sessions at the same time?