postgresql/src/backend/postmaster
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
..
autovacuum.c
bgworker.c Centralize setup of SIGQUIT handling for postmaster child processes. 2020-09-16 16:04:36 -04:00
bgwriter.c
checkpointer.c Add pg_stat_wal statistics view. 2020-10-02 10:17:11 +09:00
fork_process.c
interrupt.c Fix some grammar and typos in comments and docs 2020-11-02 15:14:41 +09:00
Makefile Partially deduplicate interrupt handling for background processes. 2019-12-17 13:14:28 -05:00
pgarch.c Centralize setup of SIGQUIT handling for postmaster child processes. 2020-09-16 16:04:36 -04:00
pgstat.c Use strlcpy instead of memcpy for copying the slot name in pgstat.c. 2020-11-06 08:12:48 +05:30
postmaster.c
startup.c
syslogger.c
walwriter.c