What behavior is in this loop? - Mailing list pgsql-hackers

From KONDO Mitsumasa
Subject What behavior is in this loop?
Date
Msg-id 530F15A1.2070908@lab.ntt.co.jp
Whole thread Raw
Responses Re: What behavior is in this loop?  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List 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



pgsql-hackers by date:

Previous
From: Kyotaro HORIGUCHI
Date:
Subject: Re: UNION ALL on partitioned tables won't use indices.
Next
From: Emre Hasegeli
Date:
Subject: Re: GiST support for inet datatypes