postgresql/src/backend
Magnus Hagander 5ee180a394 Add pg_strong_random_init function to initialize random number generator
Currently only OpenSSL requires this initialization, but in the future
other SSL implementations are likely to need it as well. Abstracting
this functionality out into a separate function makes this cleaner and
more clear, and also removes the dependency on OpenSSL headers from
fork_process.c.

OpenSSL is special in that we need to initialize this random number
generator even if we're not going to use it directly, until we drop
support for everything prior to OpenSSL 1.1.1. (And of course also if we
actually use it). All other implementations are left empty at this time,
but more are expected to be added in the future.

Author: Daniel Gustafsson <daniel@yesql.se>, Michael Paquier <michael@paquier.xyz>
Reviewed-By: Magnus Hagander <magnus@hagander.net>
Discussion: https://postgr.es/m/F6291C3C-747C-4C93-BCE0-28BB420B1FF5@yesql.se
2020-11-06 13:21:28 +01:00
..
access Fix wal_consistency_checking nbtree bug. 2020-11-05 15:01:40 -08:00
bootstrap Don't use custom OID symbols in pg_type.dat, either. 2020-10-29 13:33:38 -04:00
catalog Remove useless entries for aggregate functions from fmgrtab.c. 2020-11-04 11:25:56 -05:00
commands Don't throw an error for LOCK TABLE on a self-referential view. 2020-11-05 11:44:32 -05:00
executor Remove useless entries for aggregate functions from fmgrtab.c. 2020-11-04 11:25:56 -05:00
foreign Update copyrights for 2020 2020-01-01 12:21:45 -05:00
jit llvmjit: Work around bug in LLVM 3.9 causing crashes after 72559438f9. 2020-10-15 18:17:00 -07:00
lib Use pg_bitutils for HyperLogLog. 2020-07-30 09:14:23 -07:00
libpq Improve error handling in backend OpenSSL implementation 2020-11-03 09:55:51 +01:00
main Clean up includes of s_lock.h. 2020-06-18 19:41:05 -07:00
nodes Improve our ability to regurgitate SQL-syntax function calls. 2020-11-04 12:34:50 -05:00
optimizer Fix get_useful_pathkeys_for_relation for volatile expressions 2020-11-03 22:31:57 +01:00
parser Improve our ability to regurgitate SQL-syntax function calls. 2020-11-04 12:34:50 -05:00
partitioning Fix some grammar and typos in comments and docs 2020-11-02 15:14:41 +09:00
po Translation updates 2020-05-18 12:49:30 +02:00
port Fix -Wcast-function-type warnings on Windows/MinGW 2020-10-21 08:17:51 +02:00
postmaster Add pg_strong_random_init function to initialize random number generator 2020-11-06 13:21:28 +01:00
regex Dial back -Wimplicit-fallthrough to level 3 2020-05-13 15:31:14 -04:00
replication Use Enum for top level logical replication message types. 2020-11-02 08:18:18 +05:30
rewrite Calculate extraUpdatedCols in query rewriter, not parser. 2020-10-28 13:47:02 -04:00
snowball code: replace most remaining uses of 'master'. 2020-07-08 13:24:35 -07:00
statistics Fix some grammar and typos in comments and docs 2020-11-02 15:14:41 +09:00
storage Revert pg_relation_check_pages() 2020-11-04 10:21:46 +09:00
tcop Remove pg_collation.collversion. 2020-11-03 00:44:59 +13:00
tsearch Improve behavior of tsearch_readline(), and remove t_readline(). 2020-09-23 20:26:58 -04:00
utils Improve our ability to regurgitate SQL-syntax function calls. 2020-11-04 12:34:50 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Update copyrights for 2020 2020-01-01 12:21:45 -05:00
nls.mk Add missing gettext triggers 2020-04-28 13:35:40 +02:00