Re: [HACKERS] random_fract and aix compiler bug - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] random_fract and aix compiler bug
Date
Msg-id 28709.1066452410@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] random_fract and aix compiler bug  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
List pgsql-patches
"Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at> writes:
> Would we be happy with the following, which would work ?
>         } while (z <= 0 || z == MAX_RANDOM_VALUE);

I suppose this doesn't?
          } while (z <= 0 || z >= MAX_RANDOM_VALUE);

            regards, tom lane

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: minor psql cleanup
Next
From: Tom Lane
Date:
Subject: Re: fix memory leak in libpq