Revert "Replace PostmasterRandom() with a stronger way of generating randomness."
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 18 Oct 2016 13:28:23 +0000 (16:28 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 18 Oct 2016 13:28:23 +0000 (16:28 +0300)
commitfaae1c918e8aaae034eaf3ea103fcb6ba9adc5ab
tree4d2739ac51be02b6701d9d9c14e7e1058f8d5fe0
parent7d3235ba42f8d5fc70c58e242702cc5e2e3549a6
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.
contrib/pgcrypto/Makefile
contrib/pgcrypto/internal.c
contrib/pgcrypto/random.c [new file with mode: 0644]
src/backend/libpq/auth.c
src/backend/postmaster/postmaster.c
src/include/port.h
src/port/Makefile
src/port/pg_strong_random.c [deleted file]
src/tools/msvc/Mkvcbuild.pm