From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> |
Cc: | "Heikki Linnakangas" <heikki(dot)linnakangas(at)enterprisedb(dot)com>, "Rusty Conover" <rconover(at)infogears(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [BUGS] BUG #5412: test case produced, possible race condition. |
Date: | 2010-04-14 22:55:47 |
Message-ID: | 16416.1271285747@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
"Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> writes:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> The seed alone wouldn't be enough to duplicate the behavior, since
>> the behavior of random() typically varies across platforms. So we
>> might get a report and still be unable to reproduce it.
> At least the person getting the initial failure would be able to
> recreate it, and possibly provide a stack trace.
On second thought, since there's no need for a particularly high-quality
RNG here, we could just embed some brain-dead one-liner implementation,
which should behave the same everywhere.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2010-04-14 23:04:55 | Re: [BUGS] BUG #5412: test case produced, possible race condition. |
Previous Message | Tom Lane | 2010-04-14 22:40:22 | Re: BUG #5416: int4inc() is wrong |
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2010-04-14 23:04:55 | Re: [BUGS] BUG #5412: test case produced, possible race condition. |
Previous Message | Robert Haas | 2010-04-14 22:53:47 | Re: shared_buffers documentation |