Re: Latches, loop and exit - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Latches, loop and exit
Date
Msg-id AANLkTikdaPcFsxo2ZuJ_j+pDuKuxu19apf7uVC9X+YBQ@mail.gmail.com
Whole thread Raw
In response to Latches, loop and exit  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Latches, loop and exit
List pgsql-hackers
On Wed, Sep 15, 2010 at 12:14 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
>
> Like latches, nice one.
>
> The way the loop in WalSender now happens it won't send any outstanding
> WAL if a shutdown is requested while it is waiting.
>
> That probably needs to change and we'd do similarly in other procs.

Really? ISTM that walsender tries to send all outstanding WAL without
problems after it receives SIGUSR2. Am I missing something?

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


pgsql-hackers by date:

Previous
From: Hitoshi Harada
Date:
Subject: Re: top-level DML under CTEs
Next
From: Robert Haas
Date:
Subject: Re: bg worker: patch 1 of 6 - permanent process