Re: Power outage and funny chars in the logs - Mailing list pgsql-general

From Massa, Harald Armin
Subject Re: Power outage and funny chars in the logs
Date
Msg-id e3e180dc0905070719q58136caai23fbb777fd3c0df7@mail.gmail.com
Whole thread Raw
In response to Power outage and funny chars in the logs  (Glyn Astill <glynastill@yahoo.co.uk>)
List pgsql-general

What did make me scratch my head was a short stream of @ symbols (well they show up as @ symbols in vi) in the log file of the main server (others are slony subscribers).

mentioning those @@@@@ symbols ...

1,5 weeks ago there was reported on this list the problem "postgres service not starting on windows"; after consulting event log the user reported as message "bogus data in postmaster.pid". After deleting postmaster.pid the service started up fine.

Soon after a customer of mine reported the same error, also on windows; and before deleting postmaster.pid I got a copy of that "bogus one". AND: there where also a lot of @@@@ symobols in postmaster.pid (hex 0)

After reading the answers to the funny chars in the logs and no fsync on the logs: is there a fsync on postmaster.pid? Or is that file not considered important enough?

(just digging for the reason for corrupted data in postmaster.pid)...

Harald

--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607
no fx, no carrier pigeon
-
LASIK good, steroids bad?

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: PgUS 501c3 Public Charity
Next
From: Alvaro Herrera
Date:
Subject: Re: PgUS 501c3 Public Charity