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

From Zeugswetter Andreas SB SD
Subject Re: [HACKERS] random_fract and aix compiler bug
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA4962048@m0114.s-mxs.net
Whole thread Raw
In response to [HACKERS] random_fract and aix compiler bug  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
Responses Re: [HACKERS] random_fract and aix compiler bug  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
> > 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);

Ah, yes ! That also works and is a lot nicer. Can you please apply ?

Together with the patch in Bruce's queue, the only minor open issue is now
with the -i switch for postmaster in the getaddrinfo_all area
(on this machine a direct nameservice request answers "host not found"),
and the geometry and horology regression expected files.

Thanks
Andreas

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: fix memory leak in libpq
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] random_fract and aix compiler bug