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 1puc0F-0006AT-4i for pgsql-admin@arkaria.postgresql.org; Thu, 04 May 2023 16:40:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1puc0C-0002Hh-6K for pgsql-admin@arkaria.postgresql.org; Thu, 04 May 2023 16:40:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1puc0B-0002HY-OQ for pgsql-admin@lists.postgresql.org; Thu, 04 May 2023 16:40:19 +0000 Received: from impout001aa.msg.chrl.nc.charter.net ([47.43.20.25] helo=impout001.msg.chrl.nc.charter.net) by makus.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1puc04-000W1V-VR for pgsql-admin@lists.postgresql.org; Thu, 04 May 2023 16:40:18 +0000 Received: from cerberus.crazybean.net ([71.11.29.254]) by cmsmtp with ESMTP id uc03pliccTF8nuc03pOhs9; Thu, 04 May 2023 16:40:11 +0000 Authentication-Results: crazybean.net; none X-Authority-Analysis: v=2.4 cv=D45Ul9dj c=1 sm=1 tr=0 ts=6453dfeb a=GkUsAQdcAzAk0MT19QAIRQ==:117 a=GkUsAQdcAzAk0MT19QAIRQ==:17 a=xqWC_Br6kY4A:10 a=P0xRbXHiH_UA:10 a=rwRZxEF4AAAA:8 a=kz_MbmwQy5KgfH0fGPUA:9 a=QEXdDO2ut3YA:10 a=Hml9KKl5YZS2VHKga9sA:9 a=PKr9krYSOBwL7oy8:21 a=_W_S_7VecoQA:10 a=lqcHg5cX4UMA:10 a=s1j30wUMSMlitCsDfMFz:22 Received: from smtpclient.apple ( [2001:470:e117:4:5037:c13:78e0:4b10]) by cerberus.crazybean.net (OpenSMTPD) with ESMTPSA id 6b802dce (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 4 May 2023 12:40:10 -0400 (EDT) From: Rui DeSousa Message-Id: <9D40E96D-F410-48E5-9A03-018D013DF765@crazybean.net> Content-Type: multipart/alternative; boundary="Apple-Mail=_880BF20C-E304-4B1B-A273-E2EB85EFD159" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Subject: Re: unknown postgres ssl error "could not accept SSL connection: Success" and timeout Date: Thu, 4 May 2023 12:40:07 -0400 In-Reply-To: Cc: pgsql-admin@lists.postgresql.org To: Holger Jakobs References: X-Mailer: Apple Mail (2.3696.120.41.1.3) X-CMAE-Envelope: MS4xfIj4akL/RCw/QkSyZc5dtfclDPEKT2yfB+ILE0p4ULtzINFwYsuFmObnPfiafgCkYvOe7s73CUfJSUw42PjDJCRk9JGUIoyOxYctyeVbic//21yaawfU fzgO9n291f9CwO+cmvFbvoE5V5/8t4EQhkvbUVPmuEBoby6I8fgfrZsnbVUwYQsUEJnet+qKg32DC2DoCs6s9NH7fS9V0eGR7XYojdTjYqNNkEwMhx4xFvIz Il6RZkfZPDA563593tHHXg== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_880BF20C-E304-4B1B-A273-E2EB85EFD159 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On May 4, 2023, at 4:16 AM, Holger Jakobs wrote: >=20 > archive_mode =3D on > archive_command =3D '/bin/true' > archive_timeout =3D 300 >=20 > This is awkward. If you want archiving, use a command which does = archiving, not /bin/true, which does nothing. Otherwise, turn archiving = off and leave archive_command empty. >=20 That is exactly how I setup a system that has archive_mode turned off. = I never set archive_mode to off; as it very likely that I want to enable = it in the future. When using =E2=80=9Ctrue=E2=80=9D instead of off it = allows the option to enabling/disabling arching without having the = bounce the instance which requires scheduling downtime that is very = difficult to get.= --Apple-Mail=_880BF20C-E304-4B1B-A273-E2EB85EFD159 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On May 4, 2023, at 4:16 AM, Holger Jakobs <holger@jakobs.com> = wrote:

archive_mode =3D =
on
archive_command =3D =
'/bin/true'
archive_timeout =3D =
300

This is awkward. If you want = archiving, use a command which does archiving, not /bin/true, which does = nothing. Otherwise, turn archiving off and leave archive_command = empty.

That is exactly how I setup a system = that has archive_mode turned off.  I never set archive_mode to off; = as it very likely that I want to enable it in the future. When using = =E2=80=9Ctrue=E2=80=9D instead of off it allows the option to = enabling/disabling arching without having the bounce the instance which = requires scheduling downtime that is very difficult to = get.= --Apple-Mail=_880BF20C-E304-4B1B-A273-E2EB85EFD159--