postgresql/src/include
Tom Lane de41869b64 Allow SSL configuration to be updated at SIGHUP.
It is no longer necessary to restart the server to enable, disable,
or reconfigure SSL.  Instead, we just create a new SSL_CTX struct
(by re-reading all relevant files) whenever we get SIGHUP.  Testing
shows that this is fast enough that it shouldn't be a problem.

In conjunction with that, downgrade the logic that complains about
pg_hba.conf "hostssl" lines when SSL isn't active: now that's just
a warning condition not an error.

An issue that still needs to be addressed is what shall we do with
passphrase-protected server keys?  As this stands, the server would
demand the passphrase again on every SIGHUP, which is certainly
impractical.  But the case was only barely supported before, so that
does not seem a sufficient reason to hold up committing this patch.

Andreas Karlsson, reviewed by Michael Banck and Michael Paquier

Discussion: https://postgr.es/m/556A6E8A.9030400@proxel.se
2017-01-02 21:37:12 -05:00
..
access Remove _hash_chgbufaccess(). 2016-12-23 07:14:37 -05:00
bootstrap Update copyright for 2016 2016-01-02 13:33:40 -05:00
catalog Expand ad-hoc unit abbreviations in function descriptions 2016-12-29 11:15:01 -05:00
commands Add pg_sequence system catalog 2016-12-20 08:28:18 -05:00
common Rename "pg_xlog" directory to "pg_wal". 2016-10-20 11:32:18 -04:00
datatype Be more careful about out-of-range dates and timestamps. 2016-03-16 19:09:28 -04:00
executor Refactor partition tuple routing code to reduce duplication. 2016-12-21 11:36:10 -05:00
fe_utils Fix assorted places in psql to print version numbers >= 10 in new style. 2016-08-16 15:58:45 -04:00
foreign Fix typo in comment. 2016-10-18 13:43:27 -04:00
lib Permit dump/reload of not-too-large >1GB tuples 2016-12-02 00:34:01 -03:00
libpq Allow SSL configuration to be updated at SIGHUP. 2017-01-02 21:37:12 -05:00
mb Update copyright for 2016 2016-01-02 13:33:40 -05:00
nodes Remove manual breaks in NodeTag assignments to fix duplicate tag numbers. 2016-12-29 16:57:41 -05:00
optimizer Speed up planner's scanning for parallel-query hazards. 2016-08-19 14:03:13 -04:00
parser Remove sql_inheritance GUC. 2016-12-23 07:35:01 -05:00
port Remove "sco" and "unixware" ports. 2016-10-11 11:26:04 -04:00
portability Use clock_gettime(), if available, in instr_time measurements. 2017-01-02 13:41:51 -05:00
postmaster Add max_parallel_workers GUC. 2016-12-02 07:42:58 -05:00
regex Make locale-dependent regex character classes work for large char codes. 2016-09-05 17:06:29 -04:00
replication Support quorum-based synchronous replication. 2016-12-19 21:15:30 +09:00
rewrite Add support for restrictive RLS policies 2016-12-05 15:50:55 -05:00
snowball Update copyright for 2016 2016-01-02 13:33:40 -05:00
storage Fix corner-case bug in WaitEventSetWaitBlock on Windows. 2016-12-21 11:01:48 -05:00
tcop Stop the executor if no more tuples can be sent from worker to leader. 2016-06-06 14:52:58 -04:00
tsearch Fix strange behavior (and possible crashes) in full text phrase search. 2016-12-21 15:18:39 -05:00
utils Make more use of RoleSpec struct 2016-12-29 10:49:39 -05:00
.gitignore
c.h Add likely/unlikely() branch hint macros. 2016-10-14 16:05:30 -07:00
fmgr.h Revert "Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V1 macro." 2016-11-07 10:19:22 -05:00
funcapi.h Widen query numbers-of-tuples-processed counters to uint64. 2016-03-12 16:05:29 -05:00
getaddrinfo.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
getopt_long.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
Makefile Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
miscadmin.h Replace PostmasterRandom() with a stronger source, second attempt. 2016-12-05 13:42:59 +02:00
pg_config_ext.h.in
pg_config_ext.h.win32
pg_config_manual.h Implement table partitioning. 2016-12-07 13:17:55 -05:00
pg_config.h.in Use clock_gettime(), if available, in instr_time measurements. 2017-01-02 13:41:51 -05:00
pg_config.h.win32 Use clock_gettime(), if available, in instr_time measurements. 2017-01-02 13:41:51 -05:00
pg_getopt.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
pg_trace.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
pgstat.h Simplify LWLock tranche machinery by removing array_base/array_stride. 2016-12-16 11:29:23 -05:00
pgtar.h Allow pg_basebackup to stream transaction log in tar mode 2016-10-23 15:23:11 +02:00
pgtime.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
port.h Replace PostmasterRandom() with a stronger source, second attempt. 2016-12-05 13:42:59 +02:00
postgres_ext.h Add a nonlocalized version of the severity field to client error messages. 2016-08-26 16:20:17 -04:00
postgres_fe.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
postgres.h Be pickier about converting between Name and Datum. 2016-09-13 17:17:48 -04:00
rusagestub.h Update copyright for 2016 2016-01-02 13:33:40 -05:00
windowapi.h Update copyright for 2016 2016-01-02 13:33:40 -05:00