pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
CRL reloading info - is it refreshed? 2+ messages / 2 participants [nested] [flat]
* CRL reloading info - is it refreshed? @ 2020-09-21 07:43 Durumdara <durumdara@gmail.com> 0 siblings, 1 reply; 2+ messages in thread From: Durumdara @ 2020-09-21 07:43 UTC (permalink / raw) To: pgsql-general Hello! For CRL reloading we need to restart the PG In 9.6. Now we have a new server with 11.x. As I read it has a reload possibility without restart and dropping the connections. SELECT pg_reload_conf(); It's ok. But: the restart is a very good checking point. If you did it, and after the server is working fine then your config is good. What will happen when onfly reload finds something bad (99% of the config is good, but 1 line in in the config file is wrong)? And the most important question: how do we know that PG 11 reloaded the CRL? Is there any way to get the last full reload timestamp value, or the version of the actual CRL file, or something like that? To be sure that we will not have big red error messages on the client's screen because of invalid CRL? F. e. it is expired because the reloading failed on something, on a tiny mistake. Thank you for every info, help, answer! Best regards dd ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: CRL reloading info - is it refreshed? @ 2020-09-21 18:11 Tom Lane <tgl@sss.pgh.pa.us> parent: Durumdara <durumdara@gmail.com> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2020-09-21 18:11 UTC (permalink / raw) To: Durumdara <durumdara@gmail.com>; +Cc: pgsql-general Durumdara <durumdara@gmail.com> writes: > What will happen when onfly reload finds something bad (99% of the config > is good, but 1 line in in the config file is wrong)? For a CRL file, the file will be ignored and the old configuration will remain, I believe. > And the most important question: how do we know that PG 11 reloaded the > CRL? > Is there any way to get the last full reload timestamp value, or the > version of the actual CRL file, or something like that? There's pg_conf_load_time(), but it doesn't go down to the level of detail of which specific settings were updated. The short answer to all these concerns is "after a SIGHUP, look in the postmaster log to see if there were any complaints". regards, tom lane ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2020-09-21 18:11 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-09-21 07:43 CRL reloading info - is it refreshed? Durumdara <durumdara@gmail.com> 2020-09-21 18:11 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox