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 1pk5Ve-0005Dw-8i for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Apr 2023 15:57:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pk5Vd-000299-5N for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Apr 2023 15:57:17 +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 1pk5Vc-00028z-SJ for pgsql-hackers@lists.postgresql.org; Wed, 05 Apr 2023 15:57:16 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pk5VZ-0014nG-PU for pgsql-hackers@postgresql.org; Wed, 05 Apr 2023 15:57:16 +0000 Received: by mail-wm1-x331.google.com with SMTP id o32so21166395wms.1 for ; Wed, 05 Apr 2023 08:57:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680710231; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=dg9O9zcpZi/cwK/gigPxKXQUAnoZMkFqN+PPVqXMVBk=; b=VkqNyIJ0FFn/xttYbuFyp6oRPsSV2sJCmvaMnvhic6Roj03ebBU3e0K4pBpCTTNT8D cmuZb0uv5ZeLzSXTMK4U2bhURcDV/0aVYvvkUJscDkfy4Y3NFeM+2ASmXznpRipGG9P3 ZjUdvJi5gTbEgH/0bdGyS+ZzrR0b7RRc3Ewrt+n9UeMbQIfzhwjDxrsJC6bEehVlYQcm sQOjHihYZQJ6TYxTWZN5fJ8TQZBi69R49suBR+yuk7dlXT2TqMqQ12MIh63E9aMRZ+7I 3Yh+nR6B0boF2WHELjmK+uhV4tCDNm5Xw8lhako0qkMpi/SpgY6PWSVTvnWmPY3q4wou OFdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680710231; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dg9O9zcpZi/cwK/gigPxKXQUAnoZMkFqN+PPVqXMVBk=; b=JXchdH7ztSkTmu73T1ob5fM3s0EQm55xdyjsRccUtFI/RFj2mkPJwRYgFYRsPFYzl1 iv9CzPBMT+i2JOniZeCZo+uDB/DQRBQ8BJkr1w/zLGP7DYzIjK0lKN2+I/YngDbItfVv gbjm+RcTVIKxMHvWcaoEoyPIfmunCCIxZMU823Z3F5Dosu/S3JYA5ZmzncBurvWS9EE/ fFc7LQikQnM19eGRPv3t51PQ0aHI3OEBrdKp+jcfoT7I2eM9bYXInfMYqR3K2/UQtRAU 7xDeSHThaZI1rXKiO3/aE3vqyAdXddDLc5+LE2hHx19ZAf/FWI8tWpVCzu0zS32atynV qr2Q== X-Gm-Message-State: AAQBX9e+po/z93KnUiIhTa5JbFMeyotX/yYwV/WBOQRXFjBcG5oKOPGM 5SBhX5sUSvxMaXS45BD8BH8= X-Google-Smtp-Source: AKy350Zxj84hO38G4yog0cSUi6C3cgQylJg+T+tniabRGlD81xK2RNIJ4QZSgJ+L+cseMKJslphpkg== X-Received: by 2002:a7b:c7d6:0:b0:3df:eecc:de2b with SMTP id z22-20020a7bc7d6000000b003dfeeccde2bmr5098250wmk.11.1680710231569; Wed, 05 Apr 2023 08:57:11 -0700 (PDT) Received: from [192.168.16.194] ([54.239.6.187]) by smtp.gmail.com with ESMTPSA id k20-20020a7bc414000000b003ee1b2ab9a0sm2578453wmi.11.2023.04.05.08.57.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Apr 2023 08:57:11 -0700 (PDT) Message-ID: <8c6e7670-3914-35d1-7977-34f60e598477@gmail.com> Date: Wed, 5 Apr 2023 17:57:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: Minimal logical decoding on standbys Content-Language: en-US To: Amit Kapila Cc: Alvaro Herrera , Jeff Davis , Andres Freund , Robert Haas , Thomas Munro , Ibrar Ahmed , Amit Khandekar , fabriziomello@gmail.com, tushar , Rahila Syed , pgsql-hackers References: <20230330095449.47yz2q4mn27t6xgl@alvherre.pgsql> <68a47e4c-f4bb-45ae-28be-938af60b203c@gmail.com> From: "Drouvot, Bertrand" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 4/5/23 3:15 PM, Amit Kapila wrote: > On Wed, Apr 5, 2023 at 6:14 PM Drouvot, Bertrand > wrote: >> >> On 4/5/23 12:28 PM, Amit Kapila wrote: >>> On Wed, Apr 5, 2023 at 2:41 PM Drouvot, Bertrand >>> wrote: >> >>> minor nitpick: >>> + >>> + /* Intentional fall through to session cancel */ >>> + /* FALLTHROUGH */ >>> >>> Do we need to repeat fall through twice in different ways? >>> >> >> Do you mean, you'd prefer what was done in v52/0002? >> > > No, I was thinking that instead of two comments, we need one here. > But, now thinking about it, do we really need to fall through in this > case, if so why? Shouldn't this case be handled after > PROCSIG_RECOVERY_CONFLICT_DATABASE? > Indeed, thanks! Done in V61 posted up-thread. Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com