Remove configure switch --disable-strong-random

Michael Paquier <michael@paquier.xyz>

Commit: 1707a0d2aa6b2bcfe78f63836c769943a1a6b9e0
Author: Michael Paquier <michael@paquier.xyz>
Date: 2019-01-01T11:05:51Z
Releases: 12.0
Remove configure switch --disable-strong-random

This removes a portion of infrastructure introduced by fe0a0b5 to allow
compilation of Postgres in environments where no strong random source is
available, meaning that there is no linking to OpenSSL and no
/dev/urandom (Windows having its own CryptoAPI).  No systems shipped
this century lack /dev/urandom, and the buildfarm is actually not
testing this switch at all, so just remove it.  This simplifies
particularly some backend code which included a fallback implementation
using shared memory, and removes a set of alternate regression output
files from pgcrypto.

Author: Michael Paquier
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/20181230063219.GG608@paquier.xyz

Files

PathChange+/−
configure modified +10 −55
configure.in modified +13 −29
contrib/pgcrypto/expected/pgp-compression_1.out deleted +0 −42
contrib/pgcrypto/expected/pgp-decrypt_1.out deleted +0 −424
contrib/pgcrypto/expected/pgp-encrypt_1.out deleted +0 −161
contrib/pgcrypto/expected/pgp-pubkey-encrypt_1.out deleted +0 −62
contrib/pgcrypto/pgcrypto.c modified +1 −10
contrib/pgcrypto/pgp-encrypt.c modified +2 −12
contrib/pgcrypto/pgp-mpi-internal.c modified +1 −5
contrib/pgcrypto/pgp-pubenc.c modified +2 −7
contrib/pgcrypto/pgp-s2k.c modified +3 −4
contrib/pgcrypto/px.c modified +1 −9
contrib/pgcrypto/px-crypt.c modified +1 −2
doc/src/sgml/installation.sgml modified +4 −20
doc/src/sgml/monitoring.sgml modified +1 −5
src/backend/access/transam/xlog.c modified +1 −2
src/backend/libpq/auth.c modified +2 −3
src/backend/libpq/auth-scram.c modified +2 −3
src/backend/postmaster/postmaster.c modified +1 −61
src/backend/storage/ipc/ipci.c modified +0 −3
src/backend/storage/lmgr/lwlocknames.txt modified +2 −3
src/backend/utils/adt/float.c modified +1 −2
src/backend/utils/misc/backend_random.c deleted +0 −158
src/backend/utils/misc/Makefile modified +3 −3
src/bin/pgbench/pgbench.c modified +1 −5
src/include/pg_config.h.in modified +0 −3
src/include/pg_config.h.win32 modified +0 −3
src/include/port.h modified +5 −2
src/include/utils/backend_random.h deleted +0 −19
src/interfaces/libpq/fe-auth-scram.c modified +2 −60
src/Makefile.global.in modified +0 −1
src/port/Makefile modified +1 −5

Documentation touched

Discussion