What behavior is in this loop?

From: KONDO Mitsumasa <kondo(dot)mitsumasa(at)lab(dot)ntt(dot)co(dot)jp>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: What behavior is in this loop?
Date: 2014-02-27 10:38:25
Message-ID: 530F15A1.2070908@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I found interesting "for" and "while" loop in WaitForWALToBecomeAvailable() in
xlog.c. Can you tell me this behavior?

for (;;)
{
~
} while (StanbyMode)

I confirmed this code is no problem in gcc compiler:)

Regards,
--
Mitsumasa KONDO
NTT Open Source Software Center

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Emre Hasegeli 2014-02-27 10:39:05 Re: GiST support for inet datatypes
Previous Message Kyotaro HORIGUCHI 2014-02-27 10:30:57 Re: UNION ALL on partitioned tables won't use indices.