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 1nbdIg-0000Bt-GL for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Apr 2022 07:08:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nbdIe-0002Uo-P3 for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Apr 2022 07:08:24 +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 1nbdIe-0002Uf-8U for pgsql-hackers@lists.postgresql.org; Tue, 05 Apr 2022 07:08:24 +0000 Received: from mail-qv1-xf2c.google.com ([2607:f8b0:4864:20::f2c]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nbdIb-00077V-Mk for pgsql-hackers@postgresql.org; Tue, 05 Apr 2022 07:08:23 +0000 Received: by mail-qv1-xf2c.google.com with SMTP id i15so3434725qvh.0 for ; Tue, 05 Apr 2022 00:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=CKzvCHYYvJFWJOzQYejQ2DU10d7XHt5ZpcVyTZtTEf4=; b=HODMFySkdHW+KNXBzUOfL09PQo69cX+vDoW9Ku6f8QpAUMLUZQxgEO2CHz304QGkHW y1PtE5MHvON91iAZTLuWWwgs6fPu8MXilERT1a8DzeOAPzy6WVedyPaIbwF+ausoFze9 bGHvG7boj/K9OZytugveHFruTV/Wx5kvVpcf0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=CKzvCHYYvJFWJOzQYejQ2DU10d7XHt5ZpcVyTZtTEf4=; b=j1yzezdrjCF+nUcOJC+sQJwJcV2Oq90TXeLA4A6FiqM47jwqDX9fY4mIz/+qI9j6rl LoIv10qbx8BWsIDfFWnRqsqSBOKEGmepC1Ab/xPFIexA0dZXnb+ZxyrNv4cJIfEGPc4h ketV2aVIIq7zFR+piP6TuiFmVGLxinEAd0uczkGOIUgpLDAvrZEeTV84mw1aR7BtpNF8 YDc2JNrdAeZt0vlFrMUJNPdMiMfoiTY+zpV6Vbio59ijyW8h7SeaeLcsAFSPDnCrfa36 rCBjIdkUKYWROa+gwiPP+pmOtepRBeJPV9LZB6MyeCgGcNpx+bmI/JdoNZSII7uMBVYZ nozQ== X-Gm-Message-State: AOAM53024M5pBU9rKl2SvAv+nE7YUg4xefr9It03XByX3+KV7PPqxpDm Cr/JEXO+Qxs87+hXb/OMfVwu9Q== X-Google-Smtp-Source: ABdhPJzSleZpXXLxej1zre4v26TvWGz8HjNU4MV/apkISXoz1b5ncU1uUfXKPoehPg0N3Bpce7ixeQ== X-Received: by 2002:a05:6214:501a:b0:441:5e98:1df1 with SMTP id jo26-20020a056214501a00b004415e981df1mr1401182qvb.51.1649142499993; Tue, 05 Apr 2022 00:08:19 -0700 (PDT) Received: from rfd.leadboat.com ([2600:1702:a20:5750::2e]) by smtp.gmail.com with ESMTPSA id 21-20020ac85715000000b002e1ce9605ffsm10803163qtw.65.2022.04.05.00.08.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Apr 2022 00:08:19 -0700 (PDT) Date: Tue, 5 Apr 2022 00:08:16 -0700 From: Noah Misch To: Masahiko Sawada Cc: Amit Kapila , Euler Taveira , "osumi.takamichi@fujitsu.com" , Peter Eisentraut , "David G. Johnston" , "tanghy.fnst@fujitsu.com" , vignesh C , Greg Nancarrow , "houzj.fnst@fujitsu.com" , Alexey Lesovsky , pgsql-hackers Subject: Re: Skipping logical replication transactions on subscriber side Message-ID: <20220405070816.GC3827588@rfd.leadboat.com> References: <20220404023128.GA3799006@rfd.leadboat.com> <20220404062620.GE3799006@rfd.leadboat.com> <20220405002107.GA3827588@rfd.leadboat.com> <20220405014620.GB3827588@rfd.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Apr 05, 2022 at 03:05:10PM +0900, Masahiko Sawada wrote: > I've attached an updated patch. The patch includes a regression test > to detect the new violation as we discussed. I've confirmed that > Cirrus CI tests pass. Please confirm on AIX and review the patch. When the context of a "git grep skiplsn" match involves several struct fields in struct order, please change to the new order. In other words, do for all "git grep skiplsn" matches what the v2 patch does in GetSubscription(). The v2 patch does not do this for catalogs.sgml, but it ought to. I didn't check all the other "git grep" matches; please do so. The changes present in this patch all look good.