Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uZkC7-007PAn-42 for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Jul 2025 05:51:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uZkC5-008gfK-5j for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Jul 2025 05:51:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uZkC4-008gfB-SB for pgsql-bugs@lists.postgresql.org; Thu, 10 Jul 2025 05:51:41 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uZkC3-006WVz-30 for pgsql-bugs@lists.postgresql.org; Thu, 10 Jul 2025 05:51:40 +0000 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-3a588da60dfso425323f8f.1 for ; Wed, 09 Jul 2025 22:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1752126698; x=1752731498; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=wQKfviM/FB/ay+A+iN3TS24gvPGPwc2R/WcG2tt0VMU=; b=r/w40rFVKAL4ELqPIEi8BPSuFn9rf/M2B08u/E5KajPPx8Dpe9WnOOwf/C9lyZhV7A gJIdlH7lWkuYbJ/wF07Y+RQMbzFOQ8rAG6/RkFKcvtN92nY5qalmTTOAIDowTVLYtpS5 3nwP6x0AnS8EhtqP7uIIh2EQ6NTSvHa2FU0Yf7no3wSPknWwViYVcHCL5uIZrH/uOkn5 IsxJOIH+w4ofXlaxMkiK/itri5y1DXpTe4ljh/Mb3AMFoCEWThhmRzhoLG0lPYT53SpR KlDVQpMCCR2nOskNYifGtT9YOJTNXzGE7TWbMm4ETa2Yhf0xyiipxDpBBa7FArYmIvcg okEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752126698; x=1752731498; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=wQKfviM/FB/ay+A+iN3TS24gvPGPwc2R/WcG2tt0VMU=; b=M0MGXrrBXMghJaCNw3Zaz877uTWOnjT+TKLIWf6QjxhxRvm0ljMbJcKER6ai/q6d7r 3yWVAMjePm6G6ajbEn9omq8wbC7/r6GEi8MQRZ/JPqG0nPfBbCzzWm3ebGt/J+rLf9iA tJh6GyHJPIRUCrIqPyRYo+BZPJMGHOXO3FGJhJ9Vfbe9M8+yrVyT+qAIAtrQg37QuQ00 7JoIPnHdijmT7gQcaXkNDP507HZtFAGcePfcf0kVlGjJFnKepcsGp31syRVrY6FPZxCP fUz8uFF0ybsR2Ui/nqY80xczS7GvirPaK/fYj7uqmuJiM0yzshbOG8xjTOeuV+42wF7Q ATbg== X-Forwarded-Encrypted: i=1; AJvYcCW2jWHV7V9HqNrViWN+xApvlRrf9j1FpzyJsDbzGb8wRbNJyTv0ZPdRSXfQBtLe543tCSoCbGtsNn7L@lists.postgresql.org X-Gm-Message-State: AOJu0YwkCFLPbr99LJ2XQgWJU1tB/uWaHWMl4BRdDE1teu/C6GEo/M2D 4onYtJ94tk55fpS4yclFVnJZASQCLd0Pr5SCbxJIz+WLuVB1u/AHXKr2pzfq/hvi4jM= X-Gm-Gg: ASbGnctgaaVWl9rqilDpqljn43NQErrnMhYXPE8ybYz2Ex6TkphGV4VBYdIPSwzswdj sHp+X+7rkdGxLNovzjEWWypXAv70kriNaIXdtDBwwVmzOX91bD1YSjQ8DfpzYZtj1t1dDQQbJKO 8/58c5nYYspkMuhDuPpo1WILwXZBVU/pCPfcm/kgWTajpZfH9261CYBKajjuoVxsCPtpNDG2nPV QrFESzTsewvt84ZG7YCG+x9hQRi2gLkIBcg8khuv9hzOIaWSQ1gfPIoCJPAIqoNq8bOsKrlIbk2 +xjVkiQpZGgHJgDVxCcTirqxQI192nU8a/wwweif40qldU2gzXxEQjj+AYH2DciqZwGCCTe9M/P B3DKbT/D5LpvPaTg= X-Google-Smtp-Source: AGHT+IHb4+4ot++cwiI3xc+gukrEDyMmJhdvXwow+3M14HFB6eeJRImGQDYDlyxT+6m/naVjc1kEeA== X-Received: by 2002:a5d:4b8d:0:b0:3a4:eb80:762d with SMTP id ffacd0b85a97d-3b5e86e2794mr776002f8f.56.1752126698018; Wed, 09 Jul 2025 22:51:38 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:260:37f7:694:9e4d:7c61:c140]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3b5e8dc9268sm860693f8f.41.2025.07.09.22.51.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jul 2025 22:51:37 -0700 (PDT) Message-ID: Subject: Re: Unexpected behavior when setting "idle_replication_slot_timeout" From: Laurenz Albe To: "Hayato Kuroda (Fujitsu)" , 'Amit Kapila' Cc: Fujii Masao , Tom Lane , "David G. Johnston" , Nisha Moond , Gunnar Morling , "pgsql-bugs@lists.postgresql.org" Date: Thu, 10 Jul 2025 07:51:36 +0200 In-Reply-To: References: <30e91649-06dd-453e-8658-5f4acd03a3bd@oss.nttdata.com> <686577f2379e4b978803e72746dcf0dd7baf3937.camel@cybertec.at> <70b183fb-f66e-40d8-b0de-be8c1052fa93@oss.nttdata.com> <472687.1751731008@sss.pgh.pa.us> <474268.1751731988@sss.pgh.pa.us> <1cea80b2ed4f355ae6a68e36f56a1410b59ea4a8.camel@cybertec.at> <2dcea297694d9ab8eafd1db70d385ec0b49e3d27.camel@cybertec.at> <49b70ae1-acbe-41ec-9d2d-8284b3462fc1@oss.nttdata.com> <9bda06ec9ad0a3e3df898dfb542db53b54b55368.camel@cybertec.at> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-1.fc42) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 2025-07-10 at 05:27 +0000, Hayato Kuroda (Fujitsu) wrote: > > > The "hybrid approach" saves the two seconds on system with injection = points, > > > but cannot simplify the code. > >=20 > > I feel that would be a needless complexity in the test. >=20 > Yeah, it is the down side of the approach. If it do not have enough advan= tage, let's drop the idea. Great, then I think that we have consensus. Let's change to seconds and leave the injectsion points and tests as they a= re. I'd still like to see the documentation improved, like my patch tried to do= . Yours, Laurenz Albe