Re: Minor race-condition problem during database startup

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Minor race-condition problem during database startup
Date: 2008-11-24 13:40:46
Message-ID: 492AAEDE.6080302@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane napsal(a):
> Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> writes:
>> Zdenek Kotala napsal(a):
>>> By my opinion there is not reason to retry kill call, because it fails
>>> only in situation if process does not exist or caller does not have
>>> permission to send a signal.
>
>> If I think more about it, that code is here because it probably tries to bypass
>> time when bgwriter is restarted.
>
> Correct. Did you read the commit log message?
> http://archives.postgresql.org/pgsql-committers/2008-11/msg00269.php

No. I thought that I look on old code. :(

Zdenek

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hitoshi Harada 2008-11-24 13:41:43 Re: Windowing Function Patch Review -> Standard Conformance
Previous Message Alvaro Herrera 2008-11-24 13:38:18 Re: blatantly a bug in the documentation