From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove optimization for RAND_poll() failing.
Date: Sat, 25 Jul 2020 21:52:47 +0000
Message-ID: <E1jzS63-0006R8-1S@gemulon.postgresql.org> (raw)
Remove optimization for RAND_poll() failing.
The loop to generate seed data will exit on RAND_status(), so we don't
need to handle the case of RAND_poll() failing separately. Failures
here are rare, so this a code cleanup, essentially.
Daniel Gustafsson, reviewed by David Steele and Michael Paquier.
Discussion: https://postgr.es/m/9B038FA5-23E8-40D0-B932-D515E1D8F66A@yesql.se
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/15e441972276e95639f8c3d9f5f66c2318fe9348
Modified Files
--------------
src/port/pg_strong_random.c | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: noah@leadboat.com
Subject: Re: pgsql: Remove optimization for RAND_poll() failing.
In-Reply-To: <E1jzS63-0006R8-1S@gemulon.postgresql.org>
References: <E1jzS63-0006R8-1S@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox