pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Durumdara <durumdara@gmail.com>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: CRL reloading info - is it refreshed?
Date: Mon, 21 Sep 2020 14:11:00 -0400
Message-ID: <990633.1600711860@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEcMXhn9w--kjOPFf4JNwB_hk5V=ZUc3wGfH6_sXqd2wZzqodg@mail.gmail.com>
References: <CAEcMXhn9w--kjOPFf4JNwB_hk5V=ZUc3wGfH6_sXqd2wZzqodg@mail.gmail.com>

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





view thread (2+ messages)

Message-ID: <990633.1600711860@sss.pgh.pa.us>
Permalink:  ../990633.1600711860@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/990633.1600711860@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, durumdara@gmail.com
  Subject: Re: CRL reloading info - is it refreshed?
  In-Reply-To: <990633.1600711860@sss.pgh.pa.us>
  References: <CAEcMXhn9w--kjOPFf4JNwB_hk5V=ZUc3wGfH6_sXqd2wZzqodg@mail.gmail.com> <990633.1600711860@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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