Re: windows shared memory error

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: windows shared memory error
Date: 2009-05-04 14:14:10
Message-ID: 49FEF832.30802@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> I still think there's absolutely no evidence suggesting that a variable
> backoff is necessary. Given how little this code is going to be
> exercised in the real world, how long will it take till we find out
> if you get it wrong? Use a simple retry loop and be done with it.
>
>
>

Why should a 1 second delay between CloseHandle() and
CreateFileMapping() be enough now when it was not enough 1 second ago?
If the event we needed an offset from were outside the loop I'd agree
with you.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2009-05-04 14:14:59 Re: windows shared memory error
Previous Message Andres Freund 2009-05-04 14:10:49 conditional dropping of columns/constraints