pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@postgresql.org
Subject: pgsql: Revert "Replace PostmasterRandom() with a stronger way of genera
Date: Tue, 18 Oct 2016 13:29:55 +0000
Message-ID: <E1bwUSp-0000Xq-GV@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Revert "Replace PostmasterRandom() with a stronger way of generating randomness."

This reverts commit 9e083fd4683294f41544e6d0d72f6e258ff3a77c. That was a
few bricks shy of a load:

* Query cancel stopped working
* Buildfarm member pademelon stopped working, because the box doesn't have
  /dev/urandom nor /dev/random.

This clearly needs some more discussion, and a quite different patch, so
revert for now.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/faae1c918e8aaae034eaf3ea103fcb6ba9adc5ab

Modified Files
--------------
contrib/pgcrypto/Makefile           |   2 +-
contrib/pgcrypto/internal.c         |  40 +++---
contrib/pgcrypto/random.c           | 247 ++++++++++++++++++++++++++++++++++++
src/backend/libpq/auth.c            |  27 +---
src/backend/postmaster/postmaster.c | 153 ++++++++++++++++------
src/include/port.h                  |   3 -
src/port/Makefile                   |   2 +-
src/port/pg_strong_random.c         | 148 ---------------------
src/tools/msvc/Mkvcbuild.pm         |   6 +-
9 files changed, 384 insertions(+), 244 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1bwUSp-0000Xq-GV@gemulon.postgresql.org>
Permalink:  ../E1bwUSp-0000Xq-GV@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1bwUSp-0000Xq-GV@gemulon.postgresql.org

 · 

reply

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: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Revert "Replace PostmasterRandom() with a stronger way of genera
  In-Reply-To: <E1bwUSp-0000Xq-GV@gemulon.postgresql.org>
  References: <E1bwUSp-0000Xq-GV@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