Re: Race-condition with failed block-write? - Mailing list pgsql-bugs

From Arjen van der Meijden
Subject Re: Race-condition with failed block-write?
Date
Msg-id 43282CC1.6060502@tweakers.net
Whole thread Raw
In response to Race-condition with failed block-write?  (Arjen van der Meijden <acm@tweakers.net>)
List pgsql-bugs
Tom Lane wrote:
> Arjen van der Meijden <acm@tweakers.net> writes:
>>> I'll try and see if I can dig up more from the logs and see if I can
>>> test a few reasonable scenario's tomorrow though.
>
>> I wasn't able to find anything suspicious at all.
>
> Is it conceivable that the init-script itself did something funny?
> There are so many different init scripts around ...

Its the default gentoo-init-script, but I checked it whether it could do
weird things. Anyway, this is the stop-code:

stop() {
         ebegin "Stopping PostgreSQL"
         su - $PGUSER -c "/usr/bin/pg_ctl stop -D '$PGDATA' -s -m fast"
         eend $?
}

start and restart are similarily simple.
ebegin and eend are afaik simple macro's to pretty print to the console.

Best regards,

Arjen

pgsql-bugs by date:

Previous
From: Arjen van der Meijden
Date:
Subject: Re: Race-condition with failed block-write?
Next
From: Tom Lane
Date:
Subject: Re: Race-condition with failed block-write?