Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kKQHJ-00017K-Q7 for pgsql-general@arkaria.postgresql.org; Mon, 21 Sep 2020 18:11:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kKQHI-0000gP-Nf for pgsql-general@arkaria.postgresql.org; Mon, 21 Sep 2020 18:11:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kKQHI-0000gI-GI for pgsql-general@lists.postgresql.org; Mon, 21 Sep 2020 18:11:04 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kKQHG-0007fh-DO for pgsql-general@postgresql.org; Mon, 21 Sep 2020 18:11:04 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 08LIB03J990634; Mon, 21 Sep 2020 14:11:00 -0400 From: Tom Lane To: Durumdara cc: Postgres General Subject: Re: CRL reloading info - is it refreshed? In-reply-to: References: Comments: In-reply-to Durumdara message dated "Mon, 21 Sep 2020 09:43:15 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <990632.1600711859.1@sss.pgh.pa.us> Date: Mon, 21 Sep 2020 14:11:00 -0400 Message-ID: <990633.1600711860@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Durumdara 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